Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.desktop.jmod - Desktop Module
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module.
JDK 11 Desktop module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.desktop.jmod.
JDK 11 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Desktop module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/java/swing/plaf/windows/WindowsRadioButtonUI.java
/* * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.java.swing.plaf.windows; import sun.awt.AppContext; import javax.swing.plaf.basic.*; import javax.swing.*; import javax.swing.plaf.*; import java.awt.*; /** * Windows rendition of the component. * <p> * <strong>Warning:</strong> * Serialized objects of this class will not be compatible with * future Swing releases. The current serialization support is appropriate * for short term storage or RMI between applications running the same * version of Swing. A future release of Swing will provide support for * long term persistence. */ public class WindowsRadioButtonUI extends BasicRadioButtonUI { private static final Object WINDOWS_RADIO_BUTTON_UI_KEY = new Object(); protected int dashedRectGapX; protected int dashedRectGapY; protected int dashedRectGapWidth; protected int dashedRectGapHeight; protected Color focusColor; private boolean initialized = false; // ******************************** // Create PLAF // ******************************** public static ComponentUI createUI(JComponent c) { AppContext appContext = AppContext.getAppContext(); WindowsRadioButtonUI windowsRadioButtonUI = (WindowsRadioButtonUI) appContext.get(WINDOWS_RADIO_BUTTON_UI_KEY); if (windowsRadioButtonUI == null) { windowsRadioButtonUI = new WindowsRadioButtonUI(); appContext.put(WINDOWS_RADIO_BUTTON_UI_KEY, windowsRadioButtonUI); } return windowsRadioButtonUI; } // ******************************** // Defaults // ******************************** public void installDefaults(AbstractButton b) { super.installDefaults(b); if(!initialized) { dashedRectGapX = ((Integer)UIManager.get("Button.dashedRectGapX")).intValue(); dashedRectGapY = ((Integer)UIManager.get("Button.dashedRectGapY")).intValue(); dashedRectGapWidth = ((Integer)UIManager.get("Button.dashedRectGapWidth")).intValue(); dashedRectGapHeight = ((Integer)UIManager.get("Button.dashedRectGapHeight")).intValue(); focusColor = UIManager.getColor(getPropertyPrefix() + "focus"); initialized = true; } if (XPStyle.getXP() != null) { LookAndFeel.installProperty(b, "rolloverEnabled", Boolean.TRUE); } } protected void uninstallDefaults(AbstractButton b) { super.uninstallDefaults(b); initialized = false; } protected Color getFocusColor() { return focusColor; } // ******************************** // Paint Methods // ******************************** /** * Overridden method to render the text without the mnemonic */ protected void paintText(Graphics g, AbstractButton b, Rectangle textRect, String text) { WindowsGraphicsUtils.paintText(g, b, textRect, text, getTextShiftOffset()); } protected void paintFocus(Graphics g, Rectangle textRect, Dimension d){ g.setColor(getFocusColor()); BasicGraphicsUtils.drawDashedRect(g, textRect.x, textRect.y, textRect.width, textRect.height); } // ******************************** // Layout Methods // ******************************** public Dimension getPreferredSize(JComponent c) { Dimension d = super.getPreferredSize(c); /* Ensure that the width and height of the button is odd, * to allow for the focus line if focus is painted */ AbstractButton b = (AbstractButton)c; if (d != null && b.isFocusPainted()) { if(d.width % 2 == 0) { d.width += 1; } if(d.height % 2 == 0) { d.height += 1; } } return d; } }
⏎ com/sun/java/swing/plaf/windows/WindowsRadioButtonUI.java
Or download all of them as a single archive file:
File name: java.desktop-11.0.1-src.zip File size: 7974380 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.instrument.jmod - Instrument Module
2022-08-06, 163488👍, 5💬
Popular Posts:
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...
JDK 11 jdk.jconsole.jmod is the JMOD file for JDK 11 JConsole tool, which can be invoked by the "jco...
How to download and install ojdbc14.jar for Oracle 10g R2? ojdbc14.jar for Oracle 10g R2 is a Java 1...
Jetty provides an HTTP server, HTTP client, and javax.servlet container. These components are open s...
How to download and install ojdbc7.jar for Oracle 12c R1? ojdbc8.jar for Oracle 12c R1 is a Java 7 a...