I am working on Swing application and my requirement is add new column that dispay the checkboxes, so user have the access to check/uncheck row for further process.
In application 3 tabbedpanes are there & in the 3rd tabbedpane table data is displaying.
//Code snippet
I tried following ways-
1)
here output is dispaying complete details of Checkbox
2)
till this point its working fine... but in above code method public Object getValueAt(int rowIndex, int columnIndex)
I am checking if(Column==0)
return Class.forName("java.lang.Boolean");
here it is throwing ClassCastException.. java.lang.Class cannot be cast to java.lang.Boolean
Please provide me solution aas soon as possible...coz from past 2 days i m stucking on this and due to this not able to move ahead on my application development.
Thanks in Advance
Sharad
[RP] added code tags [/RP]
[ October 08, 2008: Message edited by: Rob Prime ]