Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 2.96 KB

README.md

File metadata and controls

49 lines (38 loc) · 2.96 KB

swingutil Library

A library of useful Java Swing functions used by the pst library. It is separate because I wanted the pst library to be as independent of Swing as possibly, but still able to be used by Swing applications. This is probably a dead end; when I wrote them, Swing was still popular but that is less true eight years later.

I will deprecate any of these I can find replacements for in active development/support.

EmptyTreeModel.java

A substitute for Swing's default tree model for use when the tree is empty. Based on io.github.jmcleodfoss.pst.ReadOnlyTreeModel.

FilterByExtension.java

Convenience wrapper for filtering files by extension for a javax.swing.JFileChooser. Java 6 has this natively as javax.swing.filechooser.FileNameExtensionFilter

HexAndTextDisplay.java

Display data in a javax.swing.JScrollPane as both hexadecimal byte values and as text.

HTMLTableModel.java

Output a javax.swing.table.TableModel as HTML.

ProgressBar.java

Modal popup extension of javax.swing.JProgressBar which runs in its own thread.

TreeNodePopupListener.java

Enables popup listeners to be associated with the nodes of a javax.swing.JTree.

Versions

1.0.0

Initial version.

1.1.0

1.1.1

No changes to functionality, but all code has undergone a thorough review and static analysis.

1.1.2

The library has also been run through several automated code scanners and security checkers, and all issues found have been resolved.

Release links