This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handling Focussing of JTable cells

 
cs sakthi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic