Try this class level method :
javax.swing.SwingUtilities.updateComponentTreeUI(this); 
whenever you edit the cell.
Hope this can solve your problem :)

Regards
Prasanth.

> 
> Hi,
> I have created a JTable with a defaulttablemodel. I
> have also implemented the rowheader and columnheader
> for it. The table cells have the boolean value, so
> they are displayed as checkboxes. I can only edit the
> checkboxes i.e I'm not adding new row or column. I
> just have a problem with it. whenever I select a cell,
> the jtable is getting refreshed twice. I haven't add
> any listselectionlistener for my jtable. Why is this
> happening. And whenever the checkbox is edited, I'm
> calling a javascript method using JSObject.
> 
> Help in this regard would be greatly appreciated.
> 
> Thanks,
> Raji
----- Get your free WebMail account from Sympatico-Lycos at www.sympatico.ca -----

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to