File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
jQuery in Action, 2nd edition
 
subject: Handling Focussing of JTable cells
 
Similar Threads
Input....in JTable
JTable Editable column issue.
JTable
JTable
JTable -Adding Column and Fix Columns Problems