Go to the documentation of this file.00001
00002 import java.awt.BorderLayout;
00003 import javax.swing.JApplet;
00004
00005
00006
00007
00008
00009
00010
00011 public class RunAsApplet extends JApplet
00012 {
00013
00014
00015
00016 private static final long serialVersionUID = 6183165032705642517L;
00017
00018
00019
00020
00021 private JPWorld wopComponent = new JPWorld ();
00022
00023
00024
00025
00026 @Override
00027 public void init ()
00028 {
00029 super.init ();
00030
00031 setSize( 1024, 600 );
00032 getContentPane ().add( wopComponent, BorderLayout.CENTER );
00033 validate ();
00034
00035
00036
00037 wopComponent.startTests( 1f );
00038 }
00039 }