The moose likes Swing / AWT / SWT and the fly likes JTable Editing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable Editing" Watch "JTable Editing" New topic

JTable Editing

Murugan Patham

Joined: Oct 16, 2004
Posts: 20
We are developing a new Swing Aplication. It is a complete hands down data entry application.

The users will enter values in TextFields and press a button to add the row in a JTable. Later when they want to modify, they will tab into the Table and do the editing there. I added the DefaultCellEditor, for specific format of the Cell whie editing. But that works only when they click the cell with Mouse.

Is there anyway to fire the CellEditor without mouse click, meaning when they tab and get focus of the cell the CellEditor should work.
I agree. Here's the link:
subject: JTable Editing
It's not a secret anymore!