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

isModalityTypeSupported is not handled correctly

XMLWordPrintable

    • b09
    • generic
    • generic, solaris
    • Verified

        Specification for Toolkit.isModalityTypeSupported() method contains the following statement:

             * If a dialog with unsupported modality type is created, then
             * <code>Dialog.ModalityType.MODELESS</code> is used instead.

        However, currently this is not implemented. For example, if a dialog with DOCUMENT_MODAL modality type is created with MToolkit (which doesn't support this type of modality), this dialog still is modal.
        A test that can be used to reproduce the bug is attached.

              art Artem Ananiev (Inactive)
              art Artem Ananiev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: