Class FileChooser

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FileChooser extends JFileChooser
JFileChooser with possibility to fix size and location
See Also:
  • Field Details

    • dialogLocation

      private Point dialogLocation
    • dialogSize

      private Dimension dialogSize
    • dialog

      private JDialog dialog
  • Constructor Details

    • FileChooser

      public FileChooser()
  • Method Details

    • createDialog

      protected JDialog createDialog(Component parent)
      Overrides:
      createDialog in class JFileChooser
    • setDialogLocation

      public void setDialogLocation(Point p)
      Parameters:
      p - Location of the JDialog
    • setDialogSize

      public void setDialogSize(Dimension d)
      Parameters:
      d - Size of the JDialog
    • getDialog

      public JDialog getDialog()
      Returns:
      Dialog containing the JFileChooser