i had a problem in implementing a check box inside a table and also to give actions for that..
i got a table having 4 columns and 47 rows and i need to change the color of the particular row
when i select the check box and change the color of the row when i deselect it hereby i am pasting the code... please help me
So, what is the exact issue that you are getting? Does the check box appear? What happens when you click on it?
Also, in your editor, why do you keep creating new instances of JCheckBox in the getTableCellEditorComponent method? I think that is not needed.
prajna pa wrote:
here i got the check box but i am facing some problem in that .
What is that problem exactly? Did you run the program? Do you get an exception?
Plainly asking us to help by posting 550+ lines of code is not going to work.
i need to change the color of the row to blue when the check box is selected.
and red when it is deselected.so pl z help me thanking you in advance... here i am posting my code.
It's fun to be me, and still legal in 9 states! Wanna see my tiny ad?