[java] adding items to a JList

Started by
0 comments, last by capn_midnight 19 years, 10 months ago
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

[Formerly "capn_midnight". See some of my projects. Find me on twitter tumblr G+ Github.]

Advertisement
nevermind, found it.



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

[Formerly "capn_midnight". See some of my projects. Find me on twitter tumblr G+ Github.]

This topic is closed to new replies.

Advertisement