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

FileDialog objects don't respect modality

XMLWordPrintable

    • x86
    • linux

      FULL PRODUCT VERSION :
      OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-0ubuntu0.11.10.1)
      OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Linux AIVAS-I 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux


      A DESCRIPTION OF THE PROBLEM :
      FileDialog is not respecting the modality setting.

      Given a existing frame created on the EDT with a visible parent frame:
      FileDialog chooser = new FileDialog(parentRef, "", FileDialog.LOAD);
      chooser.setModalityType(ModalityType.APPLICATION_MODAL);
      chooser.setVisible(true);


      Doesn't prevent the underlying app from being selected.


      REPRODUCIBILITY :
      This bug can be reproduced always.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: