Article View: borland.public.jbuilder.java.swing
Article #9271Re: Deleting rows from a jtable
From: John P. McGrath
Date: Wed, 19 Apr 2000 00:00
Date: Wed, 19 Apr 2000 00:00
16 lines
1037 bytes
1037 bytes
On Tue, 18 Apr 2000 14:20:29 -0400, Mustapha Essalihe wrote: > Using JTable with a DefaultTableModel, I have two buttons > for adding and removing rows respectively from the tableModel > and therfore from the table. When I delelte the last row , > I obtain an exception in the next row selection operation, > that is not the case for the others rwos to delete. anyone > have an idea ? This sounds like it should work. Can you produce a relatively small runnable sample that shows the problem? -- John P. McGrath <JPMcGrath@fast.net> <jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.1366fca727617a5898988e@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38FCA76D.A8EE4790@iro.umontreal.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,1e286d0cd85d827d X-Google-Attributes: gid111d45,public From: John P. McGrath <JPMcGrath@fast.net> Subject: Re: Deleting rows from a jtable Date: 2000/04/19 Message-ID: <MPG.1366fca727617a5898988e@forums.borland.com> X-Deja-AN: 612987122 References: <38FCA76D.A8EE4790@iro.umontreal.ca> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing