Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Forums
Register
Login
Java
»
Swing / AWT / SWT
Can you add Objects to A JList?
joe vasher
,
Ranch Hand
Dec 05, 2012 21:27:47
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
Is there a way to have a jlist work with Objects? I noticed there is no addElement for a jlist. (Scratchin head)
Michael Dunn
,
Ranch Hand
Dec 05, 2012 22:24:40
(0 cow)
(0 skulls)
2
+Pie
Number of slices to send:
Send
use the model - DefaultListModel
Post by:
autobot
A lot of people cry when they cut onions. The trick is not to form an emotional bond. This tiny ad told me:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
This thread has been viewed 764 times.
Similar Threads
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
More...
All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:34:41
.