Quantcast
Channel: Java
Viewing all articles
Browse latest Browse all 10

Java tip: How to add zebra background stripes to a JList

$
0
0

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.

read more


Viewing all articles
Browse latest Browse all 10

Trending Articles