Package ij.io

Class DirectoryChooser

java.lang.Object
ij.io.DirectoryChooser

public class DirectoryChooser extends Object
This class displays a dialog box that allows the user can select a directory.
  • Constructor Details

    • DirectoryChooser

      public DirectoryChooser(String title)
      Display a dialog using the specified title.
  • Method Details

    • getDirectory

      public String getDirectory()
      Returns the directory selected by the user.
    • setDefaultDirectory

      public static void setDefaultDirectory(String dir)
      Sets the default directory presented in the dialog.