aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "listModel problem" Watch "listModel problem" New topic
Author

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: listModel problem