      1  import javax.swing.JFrame;

      2

      3  /**

      4     This program allows the user to view font effects.

      5  */

      6  public class FontViewer

      7  {

      8     public static void main(String[] args)

      9     {

     10        JFrame frame = new FontViewerFrame();

     11        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

     12        frame.setTitle("FontViewer");

     13        frame.setVisible(true);

     14     }

     15  }

     16