use F5 to toggle fullscreen on/off
http://demo.dzzd.net/HelloWorld/HelloWorld.htm
code to put in the Applet to switch full screen
EDIT :copy / paste the below code in your applet and call switchFullScreen from where you want in your applet to switch fullscreen
Frame frame = new Frame();
Container parent;
boolean fullscreen=false;
public void switchFullScreen()
{
System.out.println("SWITCH");
if(!fullscreen)
{
if(this.parent==null)
this.parent=getParent();
frame.setUndecorated(true);
frame.add(this);
frame.setVisible(true);
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice[] devices = ge.getScreenDevices();
devices[0].setFullScreenWindow(frame);
fullscreen=true;
}
else
{
parent.add(this);
frame.dispose();
fullscreen=false;
}
this.requestFocus();
}