Skip to main content

Customize Your JList Display

Posted by joconner on November 5, 2005 at 4:55 PM PST

Have you ever tried to display something within a Swing JList only to be disappointed at the displayed text for that object? Swing JList components don't always display the text you'd like for a specific object list...at least not by default. You can control the text that JList displays by creating a custom ListCellRenderer. Read Customize Your JList Display
for more information.

Related Topics >>