This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

listModel problem

 
miguel lisboa
Ranch Hand
Posts: 1281
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm trying to populate a JList: if i do it directly like this:

it works fine; but if i use this method:

and try to call it like this:

the JList doesnt populate.
What am i doing wrong?
thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic