Zebra stripes in a graphical user interface (GUI) are subtle background stripes painted behind the rows of a hierarchical list, or tree. They improve the readability of wide tree rows, but the JTree
class in Java's Swing doesn't support them. This tip shows how to extend JTree
to add zebra background stripes.
↧
Java tip: How to add zebra background stripes to a JTree
↧