This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman 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 Elasticsearch in Action this week in the Big Data 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://kickstarter.com/rocket-mass-heater
 
subject: Handling Focussing of JTable cells