Class FontSelectionDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class FontSelectionDialog extends JDialog
Dialog that lets user select one or more fonts available in the system.
Version:
$Revision: 503f7e4f22db $
See Also:
  • Constructor Details

    • FontSelectionDialog

      public FontSelectionDialog(Dialog parent, List<String> currentFontNames)
      Default Constructor.
      Parameters:
      parent - parent dialog
      currentFontNames - font names to select initially
    • FontSelectionDialog

      public FontSelectionDialog(Frame parent, List<String> currentFontNames)
      Default Constructor.
      Parameters:
      parent - parent frame
      currentFontNames - font names to select initially
  • Method Details

    • getFontNames

      public List<String> getFontNames()
      Returns:
      selected font names if OK was pressed to close the dialog