| Author |
Regain focus after JOptionPane.
|
vladislav peichev
Greenhorn
Joined: Apr 28, 2011
Posts: 22
|
|
I have an applet that displays a JOptionPane warning message using JOptionPane.showMessageDialog. After displaying the message and clicking OK my applet does not get the focus again. Is there a way to get it? Tried suggested workaround
tried also requestFocusInWindow but none did help. Thanks in advance.
|
 |
vladislav peichev
Greenhorn
Joined: Apr 28, 2011
Posts: 22
|
|
|
See my question above.
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 3214
|
|
Please EaseUp and UseOneThreadPerQuestion. Your other thread has been locked.
To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem. Also indicate exactly how you are testing the Applet: browser, version, JRE version.
|
luck, db
There are no new questions, but there may be new answers.
|
 |
 |
|
|
subject: Regain focus after JOptionPane.
|
|
|