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

cannot mix native JFileChooser on Windows with JMC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • fx1.0
    • javafx
    • Windows Vista Business

      On Windows Vista, using a JFileChooser based on a Windows native look and feel, ie. UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()) will
      cause subsequent "non-response" crash in Java. Tested with jdk1.5_10 and jdk1.6_11.

      ...
      JFhileChooser choose = new JFileChooser();
      // display chooser
      File f = ...<<selected file from chooser>>
      Media m = new Media(f.toURI());

      No heap dump is produced. Note the above code will work with Ocean look and feel. Issue is not present on OSX.

            lnguyenjfx Loc Nguyen (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: