users
[Top] [All Lists]

jTabel Editing question

To: users@xxxxxxxxxx
Subject: jTabel Editing question
From: Dan Rye <java.dan.rye@xxxxxxxxx>
Date: Tue, 25 Oct 2005 15:20:02 -0400
Delivered-to: mailing list users@cinjug.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=EjtLQctjxruAj4vqwT3vXiaZZTZ2PDcEHn28c9IResaP+ZUON+hIDyj03s77KiLoa/RKiMXaOnLc26qEYnEPdsnblh6bOAhWB8Xmj84jnGKPTuuQoxkshlLu11cjnZtcicGFM+AlJzuMc7WcFqBZoIWPTZ1jS7475dtISsewseM=
Mailing-list: contact users-help@cinjug.org; run by ezmlm
This may be really simple, but I can't stop scratching my head over this issue.
 
I have a jFrame with a splitPanel.  One Panel has a jTable in it and the other has some textfields, etc. 
The jTable is not editable unless a "rename" is done on the cell that is selected.
When that happens only the selected cell becomes editable.
 
Currently if you select an item in the bottom pane the cell is still "being edited".  I want to stop cell editing when I am not actually in the cell anymore.  (By default the only way to stop editing[except changes] is the enter key or a selectionchange in the table)
 
I know I need to call stopCellEditing, however I can't get find an event that works for me.
My first thought was a focusListiner, but that is not going to work in this case. 
Anyone have other suggestions?
<Prev in Thread] Current Thread [Next in Thread>
  • jTabel Editing question, Dan Rye <=