Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / January 2004

Tip: Looking for answers? Try searching our database.

Jtable and cell editing

Thread view: 
Lans Redmond - 10 Jan 2004 22:08 GMT
I have a jtable which I added a ListSelectionListener.  Now when I edit a
cell and then retrieve the value it is null.  I have to select a different
cell then back to the one I edited and then the value from the cell is
returned.

I need to edit a cell and as I exit the cell perform some operation and
update another cell.  Is there a listener for onCellExit
Tor Iver Wilhelmsen - 10 Jan 2004 23:06 GMT
> I have a jtable which I added a ListSelectionListener.  Now when I edit a
> cell and then retrieve the value it is null.

That's because you try to get it before it has been posted to
setValueAt().

> I need to edit a cell and as I exit the cell perform some operation and
> update another cell.  Is there a listener for onCellExit

Try the model's setValueAt().


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.