| Author |
JTable listener
|
selvas kumars
Ranch Hand
Joined: Jan 06, 2001
Posts: 115
|
posted

0
|
Hi folks, What will be the listener for editing a cell, so i can do some validations?? regards, selva.
|
 |
Paul Stevens
Ranch Hand
Joined: May 17, 2001
Posts: 2823
|
|
|
If you use your own DefaultTableModel, setValueAt() method is a good place for it. You can also create custom cell editors to to the job.
|
 |
selvas kumars
Ranch Hand
Joined: Jan 06, 2001
Posts: 115
|
posted

0
|
Hi paul, it's working fine..
|
 |
 |
|
|
subject: JTable listener
|
|
|