title: JavaFX DirectoryChooser probable bug on Mac OS X
body: <p>I'm developing an application using JavaFX and I have to use a DirectoryChooser. I'm calling it through the following code:</p>
  
  <pre><code> DirectoryChooser chooser = new DirectoryChooser();
   chooser.setInitialDirectory(new File("~/Downloads/"));
   chooser.initialDirectoryProperty();
   chooser.setTitle("JavaFX Projects");
  
   Button browse = new Button("Browse");
   browse.addEventHandler(MouseEvent.MOUSE_CLICKED,
              new EventHandler&lt;MouseEvent&gt;() {
                  @Override
                  public void handle(MouseEvent e) {
                       File  file=chooser.showDialog(MyStage);
  
                      if (file != null) {
  
                       downloadPath.setText(file.getPath());
  
                      }
  
                  }
              });
  </code></pre>
  
  <p>On Mac OS X DirectoryChooser opens, but it doesn't set customized title and the app isn't blocked by it, I can still use it and open other DirectoryChooser dialogs.</p>
  
  <p>On Windows systems the same code works perfectly, both title setting and app blocking.</p>
  
  <p>Thanks for your help :-)</p>