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.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/table/SortHeaderMouseAdapter.java
/*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.jvm.hotspot.ui.table;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JTable;
import javax.swing.SwingUtilities;
import javax.swing.table.TableColumnModel;
import com.sun.java.swing.ui.CommonUI;
/**
* A mouse adapater which is attached to the header of a JTable. It listens
* for mouse clicks on a column and sorts that column.
*/
public class SortHeaderMouseAdapter extends MouseAdapter {
private SortableTableModel model;
private JTable table;
public SortHeaderMouseAdapter(JTable table, SortableTableModel model) {
this.model = model;
this.table = table;
}
public void mouseClicked(MouseEvent evt) {
// XXX Benchmark sort performance
//long start = System.currentTimeMillis();
CommonUI.setWaitCursor(SwingUtilities.getRoot(table));
TableColumnModel columnModel = table.getColumnModel();
int viewColumn = columnModel.getColumnIndexAtX(evt.getX());
int column = table.convertColumnIndexToModel(viewColumn);
if (evt.getClickCount() == 1 && column != -1) {
// Reverse the sorting direction.
model.sortByColumn(column, !model.isAscending());
}
// XXX Benchmark performance
// System.out.println("Sort time: " +
// (System.currentTimeMillis() - start));
CommonUI.setDefaultCursor(SwingUtilities.getRoot(table));
}
}
⏎ sun/jvm/hotspot/ui/table/SortHeaderMouseAdapter.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, ≈221🔥, 0💬
Popular Posts:
pache Derby is an open source relational database implemented entirely in Java and available under t...
What Is commons-io-2.11.jar? commons-io-2.11.jar is the JAR file for Commons IO 2.5, which is a libr...
Apache Log4j IOStreams is a Log4j API extension that provides numerous classes from java.io that can...
commons-io-2.6-sources.j aris the source JAR file for Apache Commons IO 2.6, which is a library of u...
commons-collections4-4.4 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...