| 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> |
|---|---|---|
| ||
| Previous by Date: | Low mortagge ratee approvall, Rose Dill |
|---|---|
| Next by Date: | The Spring Experience 2005 - Early Bird Discount ends Monday, October 31st..., Jay Zimmerman |
| Previous by Thread: | Low mortagge ratee approvall, Rose Dill |
| Next by Thread: | The Spring Experience 2005 - Early Bird Discount ends Monday, October 31st..., Jay Zimmerman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |