learn java
The moose likes Swing / AWT / SWT and the fly likes listModel problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "listModel problem" Watch "listModel problem" New topic

listModel problem

miguel lisboa
Ranch Hand

Joined: Feb 08, 2004
Posts: 1281
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

java amateur
Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: listModel problem