I want to make a whole Row editable...e.g if user selected column 1 than click on edit button the table will show the whole row in editable form...it will be great if any one can give only code upon button event.
Asked
Active
Viewed 444 times
0
-
*"I want to make a whole Row editable.."* Go for it! All the best. *"..it will be great if any one can give only code.."* ..so not a link to a basic tutorial? [What have you tried?](http://www.whathaveyoutried.com/) – Andrew Thompson Dec 04 '12 at 09:05
1 Answers
1
I want to make a whole Row editable...e.g if user selected column 1 than click on edit button the table will show the whole row in editable form...it will be great if any one can give only code upon button event.
I think have to use
JToggleButton
, because (JButton
s) simple click is immediatelly finalized in comparing withJToggleButton
(has two states)for
JTable
have to set proper SelectionMode and to overridepublic boolean isCellEditable(int row, int col) {

mKorbel
- 109,525
- 20
- 134
- 319