Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4191835

JOptionPane contrains the window owner to a Frame, should allow Dialogs in 1.2

XMLWordPrintable

    • beta
    • generic
    • solaris_10

      To: <###@###.###>
      Subject: JOptionPane w/Dialog owner
      Date: Fri, 20 Nov 1998 02:04:45 -0800
      MIME-Version: 1.0
      Content-Transfer-Encoding: 7bit
      X-Priority: 3
      X-MSMail-Priority: Normal
      X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

      I see that a JDialog(Dialog owner) constructor was added in JDK1.2. However,
      the support for Dialog owners of other Dialogs doesn't extend to
      JOptionPane. JOptionPane supports Frame owners only. I'd like to see this
      support extended to JOptionPane. Looks like the createDialog method needs to
      be modified to also search for a Dialog in the parent hierarchy and to
      create the option pane's dialog using the JDialog(Dialog) constructor if one
      is found.
      --
      Joe Bowbeer




            amfowler Anne Fowler (Inactive)
            amfowler Anne Fowler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: