Re: Swing Refresh problem



On 29 Nov 2005 03:45:41 -0800, "Srikanth" <sri1025@xxxxxxxxx> wrote,
quoted or indirectly quoted someone who said :

>I thought this will work, but it didn't, the button won't disable and
>it still stays pressed... What could be the problem???.

you can't do long tasks on the Swing thread.

See http://mindprod.com/jgloss/swingthreads.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.


Quantcast