Thread View: comp.lang.java
1 messages
1 total messages
Started by Scott Saunders
Fri, 24 Mar 2000 00:00
ArrayList with a JList?
Author: Scott Saunders
Date: Fri, 24 Mar 2000 00:00
Date: Fri, 24 Mar 2000 00:00
9 lines
1447 bytes
1447 bytes
I need to display the contents of an ArrayList in a JList, but someone said I had to use a ListModel or something. I need to be able to add and delete items from the list at any point. I'd really appreciate it if someone could explain exactly what I need to do please. Like, would I use an AbstractListModel, or a ListModel...? This would really help me a lot. Please reply to sc0tt@talk21.com. Thanks, Scott
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads