Hi,

I'd like to create a Java dialog that's modal, i.e. that is always on top 
of my Writer window. Currently my code is this:

dialog = new JDialog();
dialog.setModal(true);

But that dialog isn't modal, probably because it doesn't know its 
parent/owner. I'd like to use the following constructor, but what do I put 
in as owner?

JDialog(Frame owner, boolean modal)

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to