JHierarchicalList, an Extension to org.netbeans.swing.outline.Outline
Join the DZone community and get the full member experience.
Join For FreeHere I want to show a component I wrote that inherits from org.netbeans.swing.outline.Outline. It is called JHierarchicalList. In contrast to the Outline component, JHierarchicalList does not display the entire tree, but only a single path.
I'd like to add that these changes do not affect the data model, since the main work is in the class extended from javax.swing.tree.AbstractLayoutCache.
On the left, you see Outline, on the right, JHierarchicalList:
Sources are being finalized, here is the demo JAR so far. Run it as follows:
java -jar demo-hierarchical-list.jar
Opinions expressed by DZone contributors are their own.
Trending
-
Microservices With Apache Camel and Quarkus
-
RBAC With API Gateway and Open Policy Agent (OPA)
-
A Complete Guide to AWS File Handling and How It Is Revolutionizing Cloud Storage
-
The SPACE Framework for Developer Productivity
Comments