code: static File openFileDialog(Frame frame, FileFilter fileFilter) {
      return openFileDialog(frame, fileFilter, null);
    }
docs: Show a file chooser dialog and return the file selected by the user or
  <code>null</code>.