Swing Freeze

I have developed a free software under the MS Flight Simulator (FS). It runs during the flight and records information about that. It will work fine as you can see on these pictures below:

http://members.chello.hu/havasi.balazs/normal.JPG

This is when i want to close the application (works normally):

http://members.chello.hu/havasi.balazs/normalexit.JPG

Of course sometimes it is necessary to switch from FS to that logger with alt+tab. It works fine.

But when I switch on the Anti Aliasing or Antisotrop Filtering, the whole application freezes when i switch from FS with an alt+tab:

http://members.chello.hu/havasi.balazs/freeze.JPG

The program refreshes fine until I switch to FS.

The program doesn't crash because if i would like to close the program, it will ask that question, but I see nothing:

http://members.chello.hu/havasi.balazs/freezeexit.JPG

It reacts the keyboard events correctly. If i press tab and then space at this question the program exits. I tried to refresh (revalidate, repaint, paintall, paintcomponents) but no results. If I start a Thread which repaints it every seconds then sometimes I can see the GUI but i can't enter any data.

Does anyone have a hint?

Thanks for advance.

[1287 byte] By [Hefia] at [2007-11-27 6:38:30]
# 1
Did you try the swing forum? http://forum.java.sun.com/forum.jspa?forumID=57
gymma at 2007-7-12 18:07:10 > top of Java-index,Java Essentials,Java Programming...
# 2
Not yet, but I will.Thanks.
Hefia at 2007-7-12 18:07:10 > top of Java-index,Java Essentials,Java Programming...
# 3
can you post some code where you think the frame is freezing may be that thread part or something like that?
fastmikea at 2007-7-12 18:07:10 > top of Java-index,Java Essentials,Java Programming...
# 4
My guess without seeing any code is that you're manipulating some swing components from a thread that is not the EDT (like repainting every second from a separate thread).
dwga at 2007-7-12 18:07:10 > top of Java-index,Java Essentials,Java Programming...
# 5
Thanks for the answers.I will continue my topik on the Swing forum: http://forum.java.sun.com/thread.jspa?threadID=5181677&tstart=0
Hefia at 2007-7-12 18:07:10 > top of Java-index,Java Essentials,Java Programming...