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 11 jdk.jconsole.jmod - JConsole Tool
JDK 11 jdk.jconsole.jmod is the JMOD file for JDK 11 JConsole tool,
which can be invoked by the "jconsole" command.
JDK 11 JConsole tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.jconsole.jmod.
JDK 11 JConsole tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 JConsole tool source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.jconsole.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/tools/jconsole/OverviewPanel.java
/*
* Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.tools.jconsole;
import java.awt.*;
import javax.swing.*;
import static javax.swing.SwingConstants.*;
import static sun.tools.jconsole.JConsole.*;
import static sun.tools.jconsole.Utilities.*;
@SuppressWarnings("serial")
abstract class OverviewPanel extends PlotterPanel {
private static final Dimension PREFERRED_PLOTTER_SIZE = new Dimension(300, 200);
private static final Dimension MINIMUM_PLOTTER_SIZE = new Dimension(200, 150);
// This is the default view range for all the overview plotters
static final int VIEW_RANGE = -1; // Show all data
static Color PLOTTER_COLOR = IS_GTK ? new Color(231, 111, 80) : null;
private JLabel infoLabel;
public OverviewPanel(String title) {
this(title, null, null, null);
}
public OverviewPanel(String title, String plotterKey,
String plotterName, Plotter.Unit plotterUnit) {
super(title);
setLayout(new BorderLayout(0, 0));
if (plotterKey != null && plotterName != null) {
Plotter plotter = new Plotter();
plotter.setPreferredSize(PREFERRED_PLOTTER_SIZE);
plotter.setMinimumSize(MINIMUM_PLOTTER_SIZE);
plotter.setViewRange(VIEW_RANGE);
if (plotterUnit != null) {
plotter.setUnit(plotterUnit);
}
plotter.createSequence(plotterKey, plotterName, PLOTTER_COLOR, true);
setAccessibleName(plotter,
Resources.format(Messages.OVERVIEW_PANEL_PLOTTER_ACCESSIBLE_NAME,
title));
setPlotter(plotter);
}
}
public JLabel getInfoLabel() {
if (infoLabel == null) {
infoLabel = new JLabel("", CENTER) {
@Override
public void setText(String text) {
if (text.startsWith("<html>")) {
// Replace spaces with nbsp, except the
// last one of two or more (to allow wrapping)
StringBuilder buf = new StringBuilder();
char[] chars = text.toCharArray();
int n = chars.length;
for (int i = 0; i < n; i++) {
if (chars[i] == ' '
&& ((i < n-1 && chars[i+1] == ' ')
|| ((i == 0 || chars[i-1] != ' ')
&& (i == n-1 || chars[i+1] != ' ')))) {
buf.append(" ");
} else {
buf.append(chars[i]);
}
}
text = buf.toString();
}
super.setText(text);
}
};
if (IS_GTK) {
JPanel southPanel = new JPanel(new BorderLayout());
JSeparator separator = new JSeparator(JSeparator.HORIZONTAL);
southPanel.add(separator, BorderLayout.NORTH);
southPanel.add(infoLabel, BorderLayout.SOUTH);
add(southPanel, BorderLayout.SOUTH);
} else {
add(infoLabel, BorderLayout.SOUTH);
}
}
return infoLabel;
}
}
⏎ sun/tools/jconsole/OverviewPanel.java
Or download all of them as a single archive file:
File name: jdk.jconsole-11.0.1-src.zip File size: 164713 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.jdeps.jmod - JDeps Tool
2020-07-07, ≈34🔥, 0💬
Popular Posts:
JDK 17 java.desktop.jmod is the JMOD file for JDK 17 Desktop module. JDK 17 Desktop module compiled ...
How to download and install ojdbc6.jar for Oracle 11g R2? ojdbc6.jar for Oracle 11g R2 is a Java 6, ...
JDK 11 jdk.crypto.ec.jmod is the JMOD file for JDK 11 Crypto EC module. JDK 11 Crypto EC module comp...
The Java Naming and Directory Interface (JNDI) is part of the Java platform, providing applications ...
JDK 11 jdk.javadoc.jmod is the JMOD file for JDK 11 Java Document tool, which can be invoked by the ...