Class BaseFileChooser

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
AbstractExtensionFileFilterFileChooser, BaseDirectoryChooser

public class BaseFileChooser extends JFileChooser
FileChooser with a bookmarks panel.
Author:
FracPete (fracpete at waikato dot ac dot nz)
See Also:
  • Field Details

  • Constructor Details

    • BaseFileChooser

      public BaseFileChooser()
      Initializes the file chooser.
    • BaseFileChooser

      public BaseFileChooser(String currentDir)
      Initializes the file chooser with the current directory.
      Parameters:
      currentDir - the current directory to use
    • BaseFileChooser

      public BaseFileChooser(File currentDir)
      Initializes the file chooser with the current directory.
      Parameters:
      currentDir - the current directory to use
  • Method Details

    • initialize

      protected void initialize()
      Initializes the members.
    • initGUI

      protected void initGUI()
      Initializes the widgets.
    • finishInit

      protected void finishInit()
      Finishes up the initialization.
    • showDialog

      public int showDialog(Component parent, String approveButtonText) throws HeadlessException
      Overrides:
      showDialog in class JFileChooser
      Throws:
      HeadlessException