Interface PathChooser

All Known Subinterfaces:
DirectoryChooser, FileChooser
All Known Implementing Classes:
DeferredChooser, JDirectoryChooser, JSwingFileChooser, JXFileChooser, MacFileChooser, WindowsFileChooser

public interface PathChooser
Common base interface for FileChooser and DirectoryChooser interfaces
Since:
11.3
  • Method Details

    • setCurrentDirectory

      void setCurrentDirectory(File dir)
    • getCurrentDirectory

      File getCurrentDirectory()
    • setSelectedFile

      void setSelectedFile(File file)
    • getSelectedFile

      File getSelectedFile()
    • setDialogTitle

      void setDialogTitle(String title)
    • showOpenDialog

      int showOpenDialog(Component parent)
      Returns:
      Same as JFileChooser show... methods