The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

About Applet

Posted by sohail anjum on February 09, 2001 at 9:46 AM

Hello

I am new in java,But now have some knowledge about it.
I am also have knowledge about C++ and opp.
Now I have one critical question about applet.
We know that basic method of applet
init()
start()
stop()
paint()
destory()

I have many books including "thinking in java",and also read these books.

The above all method work correctly in appletviewer that come with JDK.

when same applet load into IE or Netscap,then
init() is fire
start fire only once
When we minimize the web page and restore the page,the stop() and start() not fire
respectivly.
But it work correctly in appletviewer.
Then i download the hotjava browser.its also not fire the stop() and start() method,
each time when user leave or come back to the page respectivly.
What happen with me i donot know.
one thing more i write the same question to certifyonline.com teacher.
He told me,because in webpage the html control to the page so start() and stop() method
are not fire.
I am confuse,I read the many books each say its fire,even sun java tutorial also write
this.
please help me,what happen actually.

I am again say,please reply me .

thanks
sohail anjum




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us