Public Member Functions | Private Attributes | Static Private Attributes

RunAsApplet Class Reference

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

Inheritance diagram for RunAsApplet:
Inheritance graph
[legend]
Collaboration diagram for RunAsApplet:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Runs instance of the JPWorld component inside the applet.

Author:
Mikica B Kocic

Definition at line 11 of file RunAsApplet.java.


Member Function Documentation

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*/ );
    }

Member Data Documentation

final long RunAsApplet.serialVersionUID = 6183165032705642517L [static, private]

Implements java.io.Serializable interface.

Definition at line 16 of file RunAsApplet.java.

Main component is instance of the JPWorld.

Definition at line 21 of file RunAsApplet.java.

Referenced by init().


The documentation for this class was generated from the following file: