List of usage examples for java.awt FileDialog FileDialog
public FileDialog(Dialog parent)
From source file:VASSAL.build.GameModule.java
/** * @deprecated Use {@link #getFileChooser} instead. *//* w w w . j a va 2s . c o m*/ @Deprecated public FileDialog getFileDialog() { if (fileDialog == null) { fileDialog = new FileDialog(getFrame()); File f = getGameState().getSavedGameDirectoryPreference().getFileValue(); if (f != null) { fileDialog.setDirectory(f.getPath()); } fileDialog.setModal(true); } else { fileDialog.setDirectory(fileDialog.getDirectory()); } return fileDialog; }