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.
@see java.applet.Applet#destroy()
@see java.applet.Applet#init()
@see java.applet.Applet#stop()
@see java.awt.Component#isShowing()
@see java.awt.event.ComponentListener#componentShown(java.awt.event.ComponentEvent)