File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes UI is hanging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "UI is hanging" Watch "UI is hanging" New topic

UI is hanging

Abdun Sekh

Joined: Jul 08, 2009
Posts: 1

I am calling a method "isYesNoPopUpButton" from an Event dispatching thread.In that method I tried to open a confirm dialog.but the
UI is hanging in JRE 1.6 but it is working in JRE 1.5 fine.

But If I call the same method from non event dispatching thread then it works fine for both JREs.

code is as bellow....

Any body has any idea?
I agree. Here's the link:
subject: UI is hanging
It's not a secret anymore!