Runs instance of the JPWorld component inside the applet.
More...


Public Member Functions | |
| void | init () |
Adds main component JPWorld to the content pane. | |
Private Attributes | |
| JPWorld | wopComponent = new JPWorld () |
Main component is instance of the JPWorld. | |
Static Private Attributes | |
| static final long | serialVersionUID = 6183165032705642517L |
| Implements java.io.Serializable interface. | |
Runs instance of the JPWorld component inside the applet.
Definition at line 11 of file RunAsApplet.java.
| void RunAsApplet.init | ( | ) |
Adds main component JPWorld to the content pane.
Definition at line 27 of file RunAsApplet.java.
References JPWorld.startTests(), and wopComponent.
{
super.init ();
setSize( 1024, 600 );
getContentPane ().add( wopComponent, BorderLayout.CENTER );
validate ();
/* Start T1 & T2 tests delayed for 1 sec
*/
wopComponent.startTests( 1f /*sec delay*/ );
}
final long RunAsApplet.serialVersionUID = 6183165032705642517L [static, private] |
Implements java.io.Serializable interface.
Definition at line 16 of file RunAsApplet.java.
JPWorld RunAsApplet.wopComponent = new JPWorld () [private] |
Main component is instance of the JPWorld.
Definition at line 21 of file RunAsApplet.java.
Referenced by init().
1.7.2