Class FilePicker

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FilePicker extends JPanel
See Also:
  • Constructor Details

    • FilePicker

      public FilePicker(String filename)
  • Method Details

    • setFileChooser

      public void setFileChooser(JFileChooser chooser)
    • selectFile

      public void selectFile(ActionEvent e)
    • getFile

      public File getFile()
      Get the file selected by the file picker
      Returns:
      File object, or null if not a valid selected file