File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "UI is hanging" Watch "UI is hanging" New topic
Author

UI is hanging

Abdun Sekh
Greenhorn

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.

[color=blue]
code is as bellow....

[/color]
Any body has any idea?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UI is hanging
 
Similar Threads
Constructor in enum
Starting a Swing Application
JTable cell rendering
ActionListener and Event
[newbie] The constructor <Class>(String, ImageIcon) is undefined