Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
public class MyApplet extends JApplet
{
public void init()
{
...
}
public static void main( String[] args )
{
// construct and initialize applet
final MyApplet applet = new MyApplet();
applet.init();
// create frame to contain applet
JFrame containerFrame = new JFrame( "MyApplet Frame" );
containerFrame.getContentPane().add( applet );
containerFrame.pack();
containerFrame.show();
}
} // end class MyApplet