viewguitest
Class TimerLabelTest
java.lang.Object
viewguitest.TimerLabelTest
- All Implemented Interfaces:
- ActionListener, EventListener
public class TimerLabelTest
- extends Object
- implements ActionListener
The TimerLabel test tests the TimerLabel class and the ChessClock class
which in turn tests the methods in the GameTimer class that ChessClock relies on
Because of the difficulty of writing automated tests for timers this is
all implemented in a GUI.
- Author:
- nlharr
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimerLabelTest
public TimerLabelTest()
getContentPane
public Container getContentPane()
actionPerformed
public void actionPerformed(ActionEvent e)
- Handles events for the TimerLabelTest
- Specified by:
actionPerformed
in interface ActionListener
createAndShowGUI
public static void createAndShowGUI()
- Create the GUI and shows it.
main
public static void main(String[] args)