Article View: borland.public.jbuilder.java.swing
Article #9609Re: JTable - adding extra rows
From: Cliff Hulcoop
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
19 lines
1538 bytes
1538 bytes
cant (be bothered) to provide sample code but my freeware accounts program in java at address below has code similar to what you want. look in the Gui packages. cliff www.btinternet.com/~chulcoop "Tom Corcoran" <tom_corc@hotmail.com> wrote in message news:eo8r4.11551$J9.6074@news.indigo.ie... > I have a JTable which I initially populate before I show it. However when I > add elements to the model's vector and redraw it does not refresh with the > new rows. > Does anyone have sample code for adding extra rows to a JTable and then > re-displaying? Similar code for a JList would also suffice. > Thanks > Tom > >
Technical Details
Message-ID:
<88pi7k$iba$1@uranium.btinternet.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<eo8r4.11551$J9.6074@news.indigo.ie>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,509f083b1d7873b0,start X-Google-Attributes: gid111d45,public X-Google-Thread: 111d6b,509f083b1d7873b0,start X-Google-Attributes: gid111d6b,public X-Google-Thread: 10fd6d,509f083b1d7873b0,start X-Google-Attributes: gid10fd6d,public X-Google-Thread: f5d71,509f083b1d7873b0,start X-Google-Attributes: gidf5d71,public From: "Cliff Hulcoop" <Chulcoop@btinternet.com> Subject: Re: JTable - adding extra rows Date: 2000/02/20 Message-ID: <88pi7k$iba$1@uranium.btinternet.com> X-Deja-AN: 587644811 References: <eo8r4.11551$J9.6074@news.indigo.ie> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Organization: BT Internet X-MSMail-Priority: Normal Reply-To: "Cliff Hulcoop" <Chulcoop@btinternet.com> Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java,comp.lang.java.gui,comp.lang.java.misc