A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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?
Custom JList Rendering
JLIST Store and retreive data to Properties
ListSelectionListener in JTable
JList selection to int not working
Drag and Drop from JList to JTree
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014