Results 1 to 1 of 1
-
Applets (init, start, stop, destroy)
When you create an applet, you have to extend Applet class. Applet can override init, start, stop and destroy methods to respond to corresponding events.
Not every applet needs to override all four of these methods.Java Code:public class Simple extends java.applet.Applet { . . . public void init() { . . . } public void start() { . . . } public void stop() { . . . } public void destroy() { . . . } . . . }
Similar Threads
-
Destroy object
By anjanesh in forum New To JavaReplies: 11Last Post: 01-02-2010, 07:25 PM -
init() method displaying html
By reddzer in forum Java ServletReplies: 0Last Post: 11-10-2007, 07:20 PM -
how to stop refreshing page
By cecily in forum New To JavaReplies: 1Last Post: 07-24-2007, 01:25 AM -
stop button in the browser
By Peter in forum Java ServletReplies: 2Last Post: 07-04-2007, 07:21 AM -
[/WEB-INF/applicationContext-dao.xml]: Invocation of init method
By Heather in forum JDBCReplies: 2Last Post: 06-12-2007, 04:33 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks