2 Replies Latest reply on Oct 8, 2004 10:15 AM by 807587

    Making a JDialog modal to a JWindow


      I want to show a JDialog wich owner is a JWindow. But I can't give it a JWindow as owner. Casting to JDialog or JFrame doesn't work, using things like (Jframe or JDialog)null as owner neither.

      The reason why I use a JWindow as parent, is because I want to fill the entire area of the screen (so without decoration of the JFrame).

      Anybody ideas how I can show that dialog ? Or are there perhaps other methods ?