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
⏎ com/sun/java/swing/ui/TabsDlg.java
/* * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * */ package com.sun.java.swing.ui; import com.sun.java.swing.action.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Vector; import javax.swing.*; // Referenced classes of package com.sun.java.swing.ui: // CommonUI public class TabsDlg extends JDialog { private class ApplyListener implements ActionListener { public void actionPerformed(ActionEvent evt) { if(applyListener != null) { applyListener.actionPerformed(evt); enableApplyButton(false); } } private ApplyListener() { } } private class CancelListener implements ActionListener { public void actionPerformed(ActionEvent evt) { if(cancelListener != null) cancelListener.actionPerformed(evt); setVisible(false); } private CancelListener() { } } private class OkListener implements ActionListener { public void actionPerformed(ActionEvent evt) { if(okListener != null) okListener.actionPerformed(evt); setVisible(false); } private OkListener() { } } public TabsDlg(String title, Vector panels) { super(new JFrame(), title, true); okListener = null; cancelListener = null; applyListener = null; Container pane = getContentPane(); pane.setLayout(new BorderLayout()); tabsPanel = new JTabbedPane(); int numPanels = panels.size(); for(int i = 0; i < numPanels; i++) { JPanel panel = (JPanel)panels.elementAt(i); tabsPanel.addTab(panel.getName(), panel); } pane.add(tabsPanel, "Center"); pane.add(createButtonPanel(), "South"); pack(); CommonUI.centerComponent(this); } public static void main(String args[]) { JPanel p1 = new JPanel(); p1.add(new JButton("One")); p1.setName("One"); JPanel p2 = new JPanel(); p2.add(new JButton("Two")); p2.setName("Two"); JPanel p3 = new JPanel(); p3.add(new JButton("Three")); p3.setName("Three"); JPanel p4 = new JPanel(); p4.add(new JButton("Four")); p4.setName("Four"); Vector panels = new Vector(); panels.addElement(p1); panels.addElement(p2); panels.addElement(p3); panels.addElement(p4); tabsDlg = new TabsDlg("Test Dialog", panels); tabsDlg.addOkListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { System.exit(0); } } ); tabsDlg.addCancelListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { System.exit(0); } } ); tabsDlg.setVisible(true); } private JPanel createButtonPanel() { JPanel panel = new JPanel(); okAction = new OkAction(); cancelAction = new CancelAction(); applyAction = new ApplyAction(); okAction.addActionListener(new OkListener()); cancelAction.addActionListener(new CancelListener()); applyAction.addActionListener(new ApplyListener()); panel.add(CommonUI.createButton(okAction)); panel.add(CommonUI.createButton(cancelAction)); panel.add(CommonUI.createButton(applyAction)); JPanel p2 = new JPanel(new BorderLayout()); p2.add(panel, "Center"); p2.add(new JSeparator(), "North"); return p2; } public void enableApplyButton(boolean enabled) { applyAction.setEnabled(enabled); } public synchronized void addOkListener(ActionListener l) { okListener = AWTEventMulticaster.add(okListener, l); } public synchronized void removeOkListener(ActionListener l) { okListener = AWTEventMulticaster.remove(okListener, l); } public synchronized void addCancelListener(ActionListener l) { cancelListener = AWTEventMulticaster.add(cancelListener, l); } public synchronized void removeCancelListener(ActionListener l) { cancelListener = AWTEventMulticaster.remove(cancelListener, l); } public synchronized void addApplyListener(ActionListener l) { applyListener = AWTEventMulticaster.add(applyListener, l); } public synchronized void removeApplyListener(ActionListener l) { applyListener = AWTEventMulticaster.remove(applyListener, l); } private JTabbedPane tabsPanel; private DelegateAction okAction; private DelegateAction cancelAction; private DelegateAction applyAction; private ActionListener okListener; private ActionListener cancelListener; private ActionListener applyListener; private static TabsDlg tabsDlg; }
⏎ com/sun/java/swing/ui/TabsDlg.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, 145140👍, 0💬
Popular Posts:
What JAR files are required to run sax\Writer.java provided in the Apache Xerces package? 1 JAR file...
MXP1 is a stable XmlPull parsing engine that is based on ideas from XPP and in particular XPP2 but c...
If you are a Java developer, it is very often that you need to use some 3rd party libraries to perfo...
A stream buffer is a stream-based representation of an XML infoset in Java. Stream buffers are desig...
JDK 11 jdk.rmic.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) Compiler Tool tool, ...