• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can you add Objects to A JList?

 
joe vasher
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use the model - DefaultListModel
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic