All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.test.FontDialogTest

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----gjt.test.UnitTest
                                           |
                                           +----gjt.test.FontDialogTest

public class FontDialogTest
extends UnitTest
Activating the button causes the FontDialog to be displayed. Selecting a font from the FontDialog causes the button to use the selected font.

This unit test overrides FontDialog to reset the labels displayed in the buttons, and to reset the list of font sizes displayed. See FontDialog for a discussion of the overridden methods.

Note: The FontDialog takes forever to come up in Netscape.

See Also:
UnitTest, Util, FontDialog, DialogClient

Constructor Index

 o FontDialogTest()

Method Index

 o centerPanel()
 o title()

Constructors

 o FontDialogTest
 public FontDialogTest()

Methods

 o title
 public String title()
Overrides:
title in class UnitTest
 o centerPanel
 public Panel centerPanel()
Overrides:
centerPanel in class UnitTest

All Packages  Class Hierarchy  This Package  Previous  Next  Index