Hi,
I tried that too but no luck.
Before adding this line of code, the table doesn't
reload when I click on a cell either in the same row
or in same column of the previously clicked cell but
after adding this it does for every click.

Thanks,
Raji
--- [EMAIL PROTECTED] wrote:
> 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


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to