• Advertisement


This topic is now archived and is closed to further replies.

[java] adding items to a JList

This topic is 5036 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have an ArrayList of Building objects, which in turn has an ArrayList of Room objects. I have a editor form for adding Buildings to the list and Rooms to the buildings. I have a JList that I want to display the buildings in, but for the life of me I can''t figure out how to add items to the JList after it has been initialized.
capn_midnight | Captain Midnight | deviantArt ACM | SIGGRAPH | Generation5 "I''m tired of all this nonsense about beauty being only skin-deep. That''s deep enough. What do you want - an adorable pancreas?" -Jean Kerr

Share this post

Link to post
Share on other sites

  • Advertisement