🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTable and TableCellEditor

#11609
From: Vasudevan Srinivasan
Date: Tue, 27 Apr 1999 00:00
12 lines
1010 bytes
Hi,
I have been trying to validate a user entry in JTable. I have
implemented a TableCellEditor which contains DefaultCellEditor as its
member and overridden the TableCellEditor methods. And I used the
jTable1.setCellEditor(customCellEditor);
I found that no overridden methods are called except the
stopCellEditing, and that too only for the first time. After that, the
stopCellEdting() method is not called at all, so I am not able to
validate entries. Is there something I am missing?

Thanks
Vasu
Technical Details
Message-ID: <3725D121.BD5B5C11@netrisk.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: 111d45,bfa2fb4d9538e56c,start
X-Google-Attributes: gid111d45,public
From: Vasudevan Srinivasan <vasudevan@netrisk.com>
Subject: JTable and TableCellEditor
Date: 1999/04/27
Message-ID: <3725D121.BD5B5C11@netrisk.com>
X-Deja-AN: 471488913
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: NetRisk Inc
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing