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 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/ScreenMenuPropertyListener.java
/* * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.apple.laf; import java.beans.*; import javax.accessibility.*; import javax.swing.*; class ScreenMenuPropertyListener implements PropertyChangeListener { ScreenMenuPropertyHandler fMenu; ScreenMenuPropertyListener(final ScreenMenuPropertyHandler mc) { fMenu = mc; } /** * This method gets called when a bound property is changed. * @param e A PropertyChangeEvent object describing the event source * and the property that has changed. */ public void propertyChange(final PropertyChangeEvent e) { final String propertyName = e.getPropertyName(); if ("enabled".equals(propertyName)) { fMenu.setEnabled(((Boolean)e.getNewValue()).booleanValue()); return; } if (AccessibleContext.ACCESSIBLE_STATE_PROPERTY.equals(propertyName)) { // rdar://Problem/3553843 // When an ACCESSIBLE_STATE_PROPERTY changes, it's always newValue == null and oldValue == state turned off // or newValue == state turned on and oldValue == null. We only care about changes in the ENABLED // state, so only change the menu's enabled state when the value is AccessibleState.ENABLED if (e.getNewValue() == AccessibleState.ENABLED || e.getOldValue() == AccessibleState.ENABLED) { final Object newValue = e.getNewValue(); fMenu.setEnabled(newValue == AccessibleState.ENABLED); } return; } if ("accelerator".equals(propertyName)) { fMenu.setAccelerator((KeyStroke)e.getNewValue()); return; } if (AbstractButton.TEXT_CHANGED_PROPERTY.equals(propertyName)) { fMenu.setLabel((String)e.getNewValue()); return; } if (AbstractButton.ICON_CHANGED_PROPERTY.equals(propertyName)) { fMenu.setIcon((Icon)e.getNewValue()); return; } if (JComponent.TOOL_TIP_TEXT_KEY.equals(propertyName)) { fMenu.setToolTipText((String)e.getNewValue()); return; } if (AquaMenuItemUI.IndeterminateListener.CLIENT_PROPERTY_KEY.equals(propertyName)) { fMenu.setIndeterminate(AquaMenuItemUI.IndeterminateListener.isIndeterminate((JMenuItem)e.getSource())); return; } } }
⏎ com/apple/laf/ScreenMenuPropertyListener.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, 33257👍, 0💬
Popular Posts:
What Is mail.jar of JavaMail 1.3? I got the JAR file from javamail-1_3.zip. mail.jar in javamail-1_3...
Apache Log4j Core Implementation provides the functional components of the logging system. Users are...
Jetty provides an HTTP server, HTTP client, and javax.servlet container. These components are open s...
JDK 11 java.security.jgss.jmod is the JMOD file for JDK 11 Security JGSS (Java Generic Security Serv...
How to download and install JDK (Java Development Kit) 7? If you want to write Java applications, yo...