Top Fields Constructors Methods
org.lwjgl.test.applet

public Class AppletLoaderTest

extends Applet
Class Inheritance
Imports
java.applet.Applet, java.awt.BorderLayout, .Canvas

Deprecated

as a consequence of Applet being deprecated. See corresponding docs for further information.

Field Summary

Modifier and TypeField and Description
pack-priv Test

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
destroy()

Overrides java.applet.Applet.destroy.

Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated.
public void
init()

Overrides java.applet.Applet.init.

Called by the browser or applet viewer to inform this applet that it has been loaded into the system.
public void
start()

Overrides java.applet.Applet.start.

Called by the browser or applet viewer to inform this applet that it should start its execution.
public void
stop()

Overrides java.applet.Applet.stop.

Called by the browser or applet viewer to inform this applet that it should stop its execution.
Inherited from java.applet.Applet:
getAccessibleContextgetAppletContextgetAppletInfogetAudioClipgetAudioClipgetCodeBasegetDocumentBasegetImagegetImagegetLocalegetParametergetParameterInfoisActiveisValidateRootnewAudioClipplayplayresizeresizesetStubshowStatus

Field Detail

testback to summary
pack-priv Test test

Constructor Detail

AppletLoaderTestback to summary
public AppletLoaderTest()

Method Detail

destroyback to summary
public void destroy()

Overrides java.applet.Applet.destroy.

Doc from java.applet.Applet.destroy.

Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated. The stop method will always be called before destroy.

A subclass of Applet should override this method if it has any operation that it wants to perform before it is destroyed. For example, an applet with threads would use the init method to create the threads and the destroy method to kill them.

The implementation of this method provided by the Applet class does nothing.

initback to summary
public void init()

Overrides java.applet.Applet.init.

Doc from java.applet.Applet.init.

Called by the browser or applet viewer to inform this applet that it has been loaded into the system. It is always called before the first time that the start method is called.

A subclass of Applet should override this method if it has initialization to perform. For example, an applet with threads would use the init method to create the threads and the destroy method to kill them.

The implementation of this method provided by the Applet class does nothing.

startback to summary
public void start()

Overrides java.applet.Applet.start.

Doc from java.applet.Applet.start.

Called by the browser or applet viewer to inform this applet that it should start its execution. It is called after the init method and each time the applet is revisited in a Web page.

A subclass of Applet should override this method if it has any operation that it wants to perform each time the Web page containing it is visited. For example, an applet with animation might want to use the start method to resume animation, and the stop method to suspend the animation.

Note

some methods, such as getLocationOnScreen, can only provide meaningful results if the applet is showing. Because isShowing returns false when the applet's start is first called, methods requiring isShowing to return true should be called from a ComponentListener.

The implementation of this method provided by the Applet class does nothing.

stopback to summary
public void stop()

Overrides java.applet.Applet.stop.

Doc from java.applet.Applet.stop.

Called by the browser or applet viewer to inform this applet that it should stop its execution. It is called when the Web page that contains this applet has been replaced by another page, and also just before the applet is to be destroyed.

A subclass of Applet should override this method if it has any operation that it wants to perform each time the Web page containing it is no longer visible. For example, an applet with animation might want to use the start method to resume animation, and the stop method to suspend the animation.

The implementation of this method provided by the Applet class does nothing.