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, ≈771🔥, 0💬
Popular Posts:
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
Java-WebSocket Source Code Files are provided in the source package file, java-websocket-1.5.4-src .z...
maven-embedder-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Embedder module. Apache Maven is a s...
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module. JDK 11 Management module ...
JDK 17 jdk.charsets.jmod is the JMOD file for JDK 17 Charsets module. JDK 17 Charsets module compile...