Article View: comp.lang.java
Article #582ArrayList with a JList?
From: 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
Technical Details
Message-ID:
<8bgr7k$4nf$1@newsg4.svr.pol.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5d71,129dccfb7bd3938f,start X-Google-Attributes: gidf5d71,public X-Google-Thread: 113ae9,129dccfb7bd3938f,start X-Google-Attributes: gid113ae9,public X-Google-Thread: fb99b,129dccfb7bd3938f,start X-Google-Attributes: gidfb99b,public X-Google-Thread: 10a146,129dccfb7bd3938f,start X-Google-Attributes: gid10a146,public From: "Scott Saunders" <scott@saunders179.freeserve.co.uk> Subject: ArrayList with a JList? Date: 2000/03/24 Message-ID: <8bgr7k$4nf$1@newsg4.svr.pol.co.uk> X-Deja-AN: 601950638 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400 X-Complaints-To: abuse@theplanet.net X-Trace: newsg4.svr.pol.co.uk 953937972 4847 62.137.45.226 (24 Mar 2000 22:46:12 GMT) Organization: Customer of Planet Online X-MSMail-Priority: Normal Reply-To: "Scott Saunders" <scott.saunders@bigfoot.com> NNTP-Posting-Date: 24 Mar 2000 22:46:12 GMT Newsgroups: comp.lang.java,comp.lang.java.help,comp.lang.java.programmer,cz.comp.lang.java