Jump to content
  • Advertisement

Archived

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

capn_midnight

[java] adding items to a JList

This topic is 5155 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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!