Using JDialog with JApplet
0 posts in topic
Flat View  Flat View

Posted By:   Jim_Glover
Posted On:   Monday, April 23, 2001 07:19 PM

I have a requirement to display several complex dialogs in my applet.

The problem I have is JDialog wants a Frame or another Dialog to use as its
parent. It won't accept a JApplet as a parent as it doesn't inherit from Frame.

How do I prevent the user from accidently clicking on the browser window and hiding the modal dialog behind it.

JOptionPane allows any JComponent as a parent, but doesn't allow me the control over the dialog box that I need.

Cheers Jimbo

About | Sitemap | Contact