CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS J2EE APPLET DETAILS
    Question :
    What are the Applet?s Life Cycle methods? Explain them? - Following are methods in the life cycle of an Applet
    Category Applet Interview Questions
    Rating (0.5) By 566 users
    Added on 8/24/2009
    Views 1661
    Rate it!
    Answers:

    * init() method - called when an applet is first loaded. This method is called only once in the entire cycle of an applet. This method usually intialize the variables to be used in the applet.
    * start( ) method - called each time an applet is started.
    * paint() method - called when the applet is minimized or refreshed. This method is used for drawing different strings, figures, and images on the applet window.
    * stop( ) method - called when the browser moves off the applet?s page.
    * destroy( ) method - called when the browser is finished with the applet.



    1.public void init():-when applet is first time loaded in jvm
    2.public void start():-this method invokes when applet starts(means when applet displaying on screen)
    3.public void paint(Graphics g):-this method invokes automatically to draw some text or images or drawing on canvas...
    4.public void stop():-invokes when applet programs stop..
    5.public void distroy():-invokes when applet window closed...



    Posted by: RAJA SILANI    

    Contact RAJA SILANI Contact RAJA SILANI

    KE/2012-13/0017 init() method - called when an applet is first loaded. This method is called only once in the entire cycle of an applet. This method usually intialize the variables to be used in the applet.
    * start( ) method - called each time an applet is started.
    * paint() method - called when the applet is minimized or refreshed. This method is used for drawing different strings, figures, and images on the applet window.
    * stop( ) method - called when the browser moves off the applet?s page.
    * destroy( ) method - called when the browser is finished with the applet.

    1.public void init():-when applet is first time loaded in jvm
    2.public void start():-this method invokes when applet starts(means when applet displaying on screen)
    3.public void paint(Graphics g):-this method invokes automatically to draw some text or images or drawing on canvas...
    4.public void stop():-invokes when applet programs stop..
    5.public void distroy():-invokes when applet window closed...



    Posted by: devkinandan    

    Contact devkinandan Contact devkinandan

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    What is an Applet? Should applets have constructors?
    View Answer
    What is an applet?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Applet Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0.015625 Seconds