Anything that updates a Swing component should happen in the event 
thread.  As the default Swing components do not really change (fg or bg 
color for example), and I don't believe ther is an event connected to 
this property, there might not be any problem.

        Write a small test and see.

Perico wrote:

> I'd like to know if there is some problem in invoking the setEnabled 
> method of a JComponent from outside the event dispatching thread and, 
> consequently, I have to make sure these calls are made in the event 
> dispatching thread, or if this is not important.
> 
> Thanks a lot.
> 
>

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

Reply via email to