2 Replies Latest reply: Jul 17, 2012 5:25 AM by Rahul1981 RSS

    javafx.stage.FileChooser().setInitialDirectory(file) not working on Mac

    Rahul1981
      Hi All I am using JavaFx 2.2 beta

      I am using javafx.stage.FileChooser object for opening a file dialog.The code is bellow

      FileChooser fileChooser = new FileChooser();
      fileChooser.setInitialDirectory(new File("File_PATH"));

      This code is working fine for windows but not any response on Mac OS X 10.7.4
      Please Help.

      Thanks