Class FilePreviewChooser

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FilePreviewChooser
extends JPanel
Opens a dialog which lets the user select a single file but shows a preview of whatever file is currently selected
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • FilePreviewChooser

      public FilePreviewChooser​(boolean openFile)
  • Method Details

    • handlePressedCancel

      protected void handlePressedCancel()
      Cancel button pressed
    • setDirectory

      public void setDirectory​(File directory)
    • showDialog

      @Nullable public @Nullable File showDialog​(@Nullable @Nullable Component parent)
    • main

      public static void main​(String[] args)