All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, ListSelectionListener, RootPaneContainer, WindowConstants

public class FontChooser extends JDialog implements ListSelectionListener, PropertyChangeListener
See Also:
  • Constructor Details

    • FontChooser

      public FontChooser(Frame parent)
    • FontChooser

      public FontChooser(Dialog parent)
  • Method Details

    • init

      protected void init()
    • addListeners

      protected void addListeners()
    • removeListeners

      protected void removeListeners()
    • valueChanged

      public void valueChanged(ListSelectionEvent e)
      Listens to all of the lists
      Specified by:
      valueChanged in interface ListSelectionListener
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Listens to the value property of the size jformattedtextfield
      Specified by:
      propertyChange in interface PropertyChangeListener
    • updateFont

      protected void updateFont()
    • showFontChooser

      public static Font showFontChooser(Component parent, Font startWith)
    • getSelectedFont

      public Font getSelectedFont()
    • setSelectedFont

      public void setSelectedFont(Font selectedFont)
    • isCanceled

      public boolean isCanceled()