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/WindowsInternalFrameUI.java
/* * Copyright (c) 1997, 2014, 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 java.awt.*; import java.beans.*; import javax.swing.*; import javax.swing.border.*; import javax.swing.plaf.basic.*; import javax.swing.plaf.ComponentUI; import static com.sun.java.swing.plaf.windows.TMSchema.*; import static com.sun.java.swing.plaf.windows.XPStyle.Skin; /** * 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 WindowsInternalFrameUI extends BasicInternalFrameUI { XPStyle xp = XPStyle.getXP(); public void installDefaults() { super.installDefaults(); if (xp != null) { frame.setBorder(new XPBorder()); } else { frame.setBorder(UIManager.getBorder("InternalFrame.border")); } } public void installUI(JComponent c) { super.installUI(c); LookAndFeel.installProperty(c, "opaque", xp == null? Boolean.TRUE : Boolean.FALSE); } public void uninstallDefaults() { frame.setBorder(null); super.uninstallDefaults(); } public static ComponentUI createUI(JComponent b) { return new WindowsInternalFrameUI((JInternalFrame)b); } public WindowsInternalFrameUI(JInternalFrame w){ super(w); } protected DesktopManager createDesktopManager(){ return new WindowsDesktopManager(); } protected JComponent createNorthPane(JInternalFrame w) { titlePane = new WindowsInternalFrameTitlePane(w); return titlePane; } @SuppressWarnings("serial") // Superclass is not serializable across versions private class XPBorder extends AbstractBorder { private Skin leftSkin = xp.getSkin(frame, Part.WP_FRAMELEFT); private Skin rightSkin = xp.getSkin(frame, Part.WP_FRAMERIGHT); private Skin bottomSkin = xp.getSkin(frame, Part.WP_FRAMEBOTTOM); /** * @param x the x position of the painted border * @param y the y position of the painted border * @param width the width of the painted border * @param height the height of the painted border */ public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { State state = ((JInternalFrame)c).isSelected() ? State.ACTIVE : State.INACTIVE; int topBorderHeight = (titlePane != null) ? titlePane.getSize().height : 0; bottomSkin.paintSkin(g, 0, height-bottomSkin.getHeight(), width, bottomSkin.getHeight(), state); leftSkin.paintSkin(g, 0, topBorderHeight-1, leftSkin.getWidth(), height-topBorderHeight-bottomSkin.getHeight()+2, state); rightSkin.paintSkin(g, width-rightSkin.getWidth(), topBorderHeight-1, rightSkin.getWidth(), height-topBorderHeight-bottomSkin.getHeight()+2, state); } public Insets getBorderInsets(Component c, Insets insets) { insets.top = 4; insets.left = leftSkin.getWidth(); insets.right = rightSkin.getWidth(); insets.bottom = bottomSkin.getHeight(); return insets; } public boolean isBorderOpaque() { return true; } } }
⏎ com/sun/java/swing/plaf/windows/WindowsInternalFrameUI.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, 163572👍, 5💬
Popular Posts:
What is the sax\Counter.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 inst...
Provides support for the runtime platform, core utility methods and the extension registry. JAR File...
Where to find answers to frequently asked questions on Download and Installing of Older Versions? He...
How to download and install JDK (Java Development Kit) 8? If you want to write Java applications, yo...
What Is mail.jar of JavaMail 1.3? I got the JAR file from javamail-1_3.zip. mail.jar in javamail-1_3...