A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Swing / AWT / SWT
Can you add Objects to A JList?
Joined: Nov 06, 2009
Dec 05, 2012 21:27:47
Is there a way to have a jlist work with Objects? I noticed there is no addElement for a jlist. (Scratchin head)
Joined: Jun 09, 2003
Dec 05, 2012 22:24:40
use the model -
I agree. Here's the link:
subject: Can you add Objects to A JList?
ListSelectionListener in JTable
Custom JList Rendering
JList selection to int not working
Drag and Drop from JList to JTree
JLIST Store and retreive data to Properties
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014