🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14455

Editing a JTable field

#14455
From: java32guy
Date: Tue, 31 Aug 1999 00:00
21 lines
1312 bytes
I have developed a JTable and extended the
DefaultTableModel.  In my class I have returned
true in the isCellEditable function for all cells.
When i try to edit on the table it lets me make
the changes I want and then I hit return and it
puts the original text back into the cell.  For
some reason it's not recording the changes I have
made.  This is true for a plain cell or a cell
with a JComboBox in it or a cell with a JCheckBox
in it.  I have populated this table with data from
a vector. Does anyone have any ideas why I cant
seem to get my changes to stick?

you can also email me at javaOODE@aol.com if you
would like.

thanks


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Technical Details
Message-ID: <7qhnhl$efo$1@nnrp1.deja.com>
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: f74b3,3982ef748b7feb71,start
X-Google-Attributes: gidf74b3,public
From: java32guy@my-deja.com
Subject: Editing a JTable field
Date: 1999/08/31
Message-ID: <7qhnhl$efo$1@nnrp1.deja.com>
X-Deja-AN: 519469902
X-Http-Proxy: 1.0 x31.deja.com:80 (Squid/1.1.22) for client 171.215.184.27
Organization: Deja.com - Share what you know. Learn what you don't.
X-Article-Creation-Date: Tue Aug 31 22:57:26 1999 GMT
Newsgroups: borland.public.jbuilder.java.language
X-Http-User-Agent: Mozilla/4.61 [en] (Win98; I)