aspose file tools*
The moose likes Applets and the fly likes JOptionPane.showMessageDialog does not return focus to the applet. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply locked New topic
Author

JOptionPane.showMessageDialog does not return focus to the applet.

vladislav peichev
Greenhorn

Joined: Apr 28, 2011
Posts: 22
I have an applet which displays a warning message using JOptionPane.showMessageDialog. After closing the message box with OK the applet does not get the focus again. Does anyone know how to force the applet to regain the focus. requestFocus and requestFocusInWindow methods don't help. Tried passing the applet or its top level parent frame without success. Thanks in advance.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4547
    
    5

Please UseOneThreadPerQuestion. Locking this one.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JOptionPane.showMessageDialog does not return focus to the applet.