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 jdk.hotspot.agent.jmod - Hotspot Agent Module
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module.
JDK 11 Hotspot Agent module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.hotspot.agent.jmod.
JDK 11 Hotspot Agent module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Hotspot Agent module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.hotspot.agent.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/jvm/hotspot/ui/classbrowser/ClassBrowserPanel.java
/* * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * */ package sun.jvm.hotspot.ui.classbrowser; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import sun.jvm.hotspot.oops.*; import sun.jvm.hotspot.ui.*; import sun.jvm.hotspot.ui.action.*; import sun.jvm.hotspot.utilities.*; import com.sun.java.swing.ui.StatusBar; import com.sun.java.swing.ui.CommonToolBar; import com.sun.java.swing.action.ActionManager; import com.sun.java.swing.action.DelegateAction; public class ClassBrowserPanel extends JPanel implements ActionListener { private StatusBar statusBar; private ClassBrowserToolBar toolBar; private JSplitPane splitPane; private SAEditorPane classesEditor; private SAEditorPane contentEditor; private HTMLGenerator htmlGen; public ClassBrowserPanel() { htmlGen = new HTMLGenerator(); HyperlinkListener hyperListener = new HyperlinkListener() { public void hyperlinkUpdate(HyperlinkEvent e) { if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { contentEditor.setText(htmlGen.genHTMLForHyperlink(e.getDescription())); } } }; classesEditor = new SAEditorPane(); classesEditor.addHyperlinkListener(hyperListener); contentEditor = new SAEditorPane(); contentEditor.addHyperlinkListener(hyperListener); JPanel topPanel = new JPanel(); topPanel.setLayout(new BorderLayout()); topPanel.add(new JScrollPane(classesEditor), BorderLayout.CENTER); JPanel bottomPanel = new JPanel(); bottomPanel.setLayout(new BorderLayout()); bottomPanel.add(new JScrollPane(contentEditor), BorderLayout.CENTER); splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, topPanel, bottomPanel); splitPane.setDividerLocation(0); setLayout(new BorderLayout()); add(splitPane, BorderLayout.CENTER); statusBar = new StatusBar(); add(statusBar, BorderLayout.SOUTH); toolBar = new ClassBrowserToolBar(statusBar); add(toolBar, BorderLayout.NORTH); registerActions(); } public void setClassesText(String text) { classesEditor.setText(text); splitPane.setDividerLocation(0.5); } public void setContentText(String text) { contentEditor.setText(text); splitPane.setDividerLocation(0.5); } private class ClassBrowserToolBar extends CommonToolBar { private JTextField searchTF; public ClassBrowserToolBar(StatusBar status) { super(HSDBActionManager.getInstance(), status); } protected void addComponents() { searchTF = new JTextField(); searchTF.setToolTipText("Find classes"); // Pressing Enter on the text field will search InputMap im = searchTF.getInputMap(); im.put(KeyStroke.getKeyStroke("ENTER"), "enterPressed"); ActionMap am = searchTF.getActionMap(); am.put("enterPressed", manager.getAction(FindClassesAction.VALUE_COMMAND)); add(searchTF); addButton(manager.getAction(FindClassesAction.VALUE_COMMAND)); } public String getFindText() { return searchTF.getText(); } } // // ActionListener implementation and actions support // public void actionPerformed(ActionEvent evt) { String command = evt.getActionCommand(); if (command.equals(FindClassesAction.VALUE_COMMAND)) { findClasses(); } } protected void registerActions() { registerAction(FindClassesAction.VALUE_COMMAND); } private void registerAction(String actionName) { ActionManager manager = ActionManager.getInstance(); DelegateAction action = manager.getDelegateAction(actionName); action.addActionListener(this); } private void findClasses() { String findText = toolBar.getFindText(); if (findText == null || findText.equals("")) { return; } setContentText(htmlGen.genHTMLForWait("Finding classes ...")); InstanceKlass[] klasses = SystemDictionaryHelper.findInstanceKlasses(findText); if (klasses.length == 0) { setContentText(htmlGen.genHTMLForMessage("No class found with name containing '" + findText + "'")); } else { setContentText(htmlGen.genHTMLForKlassNames(klasses)); } } }
⏎ sun/jvm/hotspot/ui/classbrowser/ClassBrowserPanel.java
Or download all of them as a single archive file:
File name: jdk.hotspot.agent-11.0.1-src.zip File size: 1243786 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.httpserver.jmod - HTTP Server Module
2020-02-29, 131711👍, 0💬
Popular Posts:
What is the sax\Counter.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 inst...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
Apache Log4j IOStreams is a Log4j API extension that provides numerous classes from java.io that can...
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...