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