| javax.swing.JFrame org.apache.commons.scxml.env.StopWatchDisplay
StopWatchDisplay | public class StopWatchDisplay extends JFrame implements ActionListener(Code) | | Quick GUI to demonstrate the SCXML driven stopwatch.
Separation of UI (this class) from behavior (StopWatch class).
UI serves merely as a front to relay user initiated events to StopWatch
object, which encapsulates all the behavior of a stopwatch.
Using SCXML makes the StopWatch class simplistic, and provides a direct
route from the UML model to the runtime.
See Also: StopWatch |
Inner Class :class WatchPanel extends JPanel | |
StopWatchDisplay | public StopWatchDisplay()(Code) | | |
|
|