title: Cannot open second JFileChooser
body: <p>In my application, I need to open 2 JFileChooser in sequence (to select source files and target directory). The second one simply never shows up... I boiled down the code to the absolute minimum, still does not work:</p>
  
  <pre><code>public class FileChooserTest
  {
  
      public static void main(String[] args)
      {
          // Create main window
          JFrame mainFrame = new JFrame( "Import Pictures");
          mainFrame.setSize( 1000, 500 );
          mainFrame.setVisible(true);
  
          JFileChooser inputChooser = new JFileChooser();
          int returnVal = inputChooser.showOpenDialog(mainFrame);
  
          JFileChooser outputChooser = new JFileChooser();
          returnVal = outputChooser.showOpenDialog(mainFrame);
      }
  
  }
  </code></pre>
  
  <p>The application hangs in the "showOpenDialog" call of the "outputChooser"...</p>
  
  <p>I'm using JDK 1.8.0_181, NetBeans 8.2, Mac OS X Mojave Beta.</p>
  
  <p>Any idea what's going on?</p>