🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9361

Deleting rows from a jtable

#9361
From: Mustapha Essalihe
Date: Tue, 18 Apr 2000 00:00
9 lines
842 bytes
Hi,
  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 ?
Thanks
Mustapha
Technical Details
Message-ID: <38FCA76D.A8EE4790@iro.umontreal.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,1e286d0cd85d827d,start
X-Google-Attributes: gid111d45,public
From: Mustapha Essalihe <essalihe@iro.umontreal.ca>
Subject: Deleting rows from a jtable
Date: 2000/04/18
Message-ID: <38FCA76D.A8EE4790@iro.umontreal.ca>
X-Deja-AN: 612788591
Content-Transfer-Encoding: 7bit
Organization: CRIM
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing