Re: Why Swing is not multiple-thread safe?# Java - 爪哇娇娃
xt
1 楼
Of course! Say, you have a frame, where there is a button.
When the button is pushed, you want to pop up a window
and display an animation in the window. There is no way
to do it if you use single thread.