tonus
asked on
Setting Focus on Joptionpane
I am using JOptionpane.showMessageDia log
method to display messages in the browser. I don't want the user to access the parent(ie the Applet) without clicking the options in the Joptionpane. Please help me out..
method to display messages in the browser. I don't want the user to access the parent(ie the Applet) without clicking the options in the Joptionpane. Please help me out..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the answer given above.
But my problem is that you can access the components in the Applet(ie parent) even if the JOptionpane appears on the applet.I don't want the user to acces the parent when the focus is on the Joptionpane.
One more problem is how to set the focus on JDialog in an applet.
But my problem is that you can access the components in the Applet(ie parent) even if the JOptionpane appears on the applet.I don't want the user to acces the parent when the focus is on the Joptionpane.
One more problem is how to set the focus on JDialog in an applet.
ASKER
But my problem is that you can access the components in the Applet(ie parent) even if the JOptionpane appears on the applet.I don't want the user to acces the parent when the focus is on the Joptionpane.
One more problem is how to set the focus on JDialog.