I recreated my problem with Mouse_Listener.java :
I just added the following :
new WaitForUserDialog("Do something, then click OK").show();
at differents places.
Just add this line first in run(), then in mousePressed(MouseEvent e).
Please tell me if you have the same problem as me : in the first case, it's ok ; in the second, everything freezes.