This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Handling Focussing of JTable cells Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Handling Focussing of JTable cells" Watch "Handling Focussing of JTable cells" New topic
Author

Handling Focussing of JTable cells

cs sakthi
Greenhorn

Joined: May 11, 2001
Posts: 15
Hai,
I have used Jtable and the table model used is DefaultTableModel(). My table has 10 columns, in which the 4th column is editable and the 7th column is editable.
My requirement is that, whenever the focus is lost from the 4th column, it should jump to the 7th column. How to use this focus traversing.
I am very much need of getting this done, i am waiting for great replies...
One more thing, i have used Double datatype for 4th column, by default 0 will get displayed, when the user edits, the value gets appended to the right side of decimal point, like 0.023, how to avoid this too.
Advance Thanks,
-Sakthi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Handling Focussing of JTable cells