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 jdk.editpad.jmod - Edit Pad Module
JDK 17 jdk.editpad.jmod is the JMOD file for JDK 17 Edit Pad module.
JDK 17 Edit Pad module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.editpad.jmod.
JDK 17 Edit Pad module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Edit Pad module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.editpad.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/editpad/EditPadProvider.java
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package jdk.editpad;
import java.util.concurrent.CountDownLatch;
import java.util.function.Consumer;
import javax.swing.SwingUtilities;
import jdk.internal.editor.spi.BuildInEditorProvider;
/**
* Defines the provider of an Edit Pad implementation.
*
* @author Robert Field
*/
public class EditPadProvider implements BuildInEditorProvider {
/**
* @return the rank of a provider, greater is better.
*/
@Override
public int rank() {
return 5;
}
/**
* Create an Edit Pad minimal editor.
*
* @param windowLabel the label string for the Edit Pad window, or null,
* for default window label
* @param initialText the source to load in the Edit Pad
* @param saveHandler a handler for changed source (can be sent the full source)
* @param errorHandler a handler for unexpected errors
*/
@Override
public void edit(String windowLabel, String initialText,
Consumer<String> saveHandler, Consumer<String> errorHandler) {
CountDownLatch closeLock = new CountDownLatch(1);
SwingUtilities.invokeLater(
new EditPad(windowLabel, errorHandler, initialText, closeLock::countDown, saveHandler));
do {
try {
closeLock.await();
break;
} catch (InterruptedException ex) {
// ignore and loop
}
} while (true);
}
}
⏎ jdk/editpad/EditPadProvider.java
Or download all of them as a single archive file:
File name: jdk.editpad-17.0.5-src.zip File size: 3252 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.hotspot.agent.jmod - Hotspot Agent Module
2023-10-04, ∼1732🔥, 0💬
Popular Posts:
What Is poi-scratchpad-5.2.3.jar ?poi-scratchpad-5.2.3.jar is one of the JAR files for Apache POI 5....
commons-lang-2.6.jar is the JAR file for Apache Commons Lang 2.6, which provides a host of helper ut...
How to display XML element type information with the jaxp\TypeInfoWriter.java provided in the Apache...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
JDK 11 java.rmi.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) module. JDK 11 RMI m...