Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
JDK 17 java.desktop.jmod - Desktop Module
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module.
JDK 17 Desktop module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.desktop.jmod.
JDK 17 Desktop module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Desktop module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.desktop.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/apple/laf/AquaInternalFrameBorderMetrics.java
/*
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.apple.laf;
import java.awt.Font;
import apple.laf.JRSUIUtils;
import com.apple.laf.AquaUtils.RecyclableSingleton;
public abstract class AquaInternalFrameBorderMetrics {
private static final boolean useLegacyBorderMetrics = JRSUIUtils.InternalFrame.shouldUseLegacyBorderMetrics();
public Font font;
public int titleBarHeight;
public int leftSidePadding;
public int buttonHeight;
public int buttonWidth;
public int buttonPadding;
public int downShift;
private AquaInternalFrameBorderMetrics() {
initialize();
}
protected abstract void initialize();
public static AquaInternalFrameBorderMetrics getMetrics(boolean isUtility) {
if (useLegacyBorderMetrics) {
return isUtility ? legacyUtilityMetrics.get() : legacyStandardMetrics.get();
} else {
return isUtility ? utilityMetrics.get() : standardMetrics.get();
}
}
private static final RecyclableSingleton<AquaInternalFrameBorderMetrics> standardMetrics = new RecyclableSingleton<AquaInternalFrameBorderMetrics>() {
@Override
protected AquaInternalFrameBorderMetrics getInstance() {
return new AquaInternalFrameBorderMetrics() {
protected void initialize() {
font = new Font("Lucida Grande", Font.PLAIN, 13);
titleBarHeight = 22;
leftSidePadding = 7;
buttonHeight = 15;
buttonWidth = 15;
buttonPadding = 5;
downShift = 0;
}
};
}
};
private static final RecyclableSingleton<AquaInternalFrameBorderMetrics> utilityMetrics = new RecyclableSingleton<AquaInternalFrameBorderMetrics>() {
@Override
protected AquaInternalFrameBorderMetrics getInstance() {
return new AquaInternalFrameBorderMetrics() {
protected void initialize() {
font = new Font("Lucida Grande", Font.PLAIN, 11);
titleBarHeight = 16;
leftSidePadding = 6;
buttonHeight = 12;
buttonWidth = 12;
buttonPadding = 6;
downShift = 0;
}
};
}
};
private static final RecyclableSingleton<AquaInternalFrameBorderMetrics> legacyStandardMetrics = new RecyclableSingleton<AquaInternalFrameBorderMetrics>() {
@Override
protected AquaInternalFrameBorderMetrics getInstance() {
return new AquaInternalFrameBorderMetrics() {
protected void initialize() {
font = new Font("Lucida Grande", Font.PLAIN, 13);
titleBarHeight = 22;
leftSidePadding = 8;
buttonHeight = 15;
buttonWidth = 15;
buttonPadding = 6;
downShift = 1;
}
};
}
};
private static final RecyclableSingleton<AquaInternalFrameBorderMetrics> legacyUtilityMetrics = new RecyclableSingleton<AquaInternalFrameBorderMetrics>() {
@Override
protected AquaInternalFrameBorderMetrics getInstance() {
return new AquaInternalFrameBorderMetrics() {
protected void initialize() {
font = new Font("Lucida Grande", Font.PLAIN, 11);
titleBarHeight = 16;
leftSidePadding = 5;
buttonHeight = 13;
buttonWidth = 13;
buttonPadding = 5;
downShift = 0;
}
};
}
};
}
⏎ com/apple/laf/AquaInternalFrameBorderMetrics.java
Or download all of them as a single archive file:
File name: java.desktop-17.0.5-src.zip File size: 9152233 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.instrument.jmod - Instrument Module
2023-09-16, ≈554🔥, 0💬
Popular Posts:
What JAR files are required to run dom\Writer.java provided in the Apache Xerces package? 3 JAR file...
pache Derby is an open source relational database implemented entirely in Java and available under t...
Java Servlet API 3.0.1 Source Code Files are important if you want to compile them with different JD...
Where to get the Java source code for Connector/J 8.0 Core Impl module? Java source code files for C...
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module. JDK 11 Management module ...