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

calling pack() method on Dialog causes dialog to map prematurely (Solaris)

XMLWordPrintable

    • sparc
    • solaris_2.4

      If you create a Dialog object and call pack() on it, the dialog will become
      mapped prematurely (even if show() is never called!). This causes the
      Dialog to be visible even though it's state in "not showing" , therefore if
      you subsequently call hide(), the Dialog will remain because it believes
      it is not showing and doesn't need to be taken down.

      I suspect that this may be a Solaris-only bug caused by a Motif idiosyncrasy.

            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: