Class FontViewPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class FontViewPanel extends JPanel implements PropertyChangeListener
Provided by the broldev.fontviewer.swing project.
Since:
1.0 (Apr 4, 2011), broldev.fontviewer.swing 0.0.1-SNAPSHOT dependency
Version:
1.0 (Apr 4, 2011)
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Constructor Details

    • FontViewPanel

      public FontViewPanel()
  • Method Details

    • show

      public void show(Font font)
      Show the texts with the selected font
      Parameters:
      font - to use to render texts
    • main

      public static void main(String[] args)
      Auto-generated main method to display this JPanel inside a new JFrame.
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Specified by:
      propertyChange in interface PropertyChangeListener