Customize Your JList Display
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.