Java API support for Applets
Java includes many libraries (known as packages) and classes, commonly known as Java API. java.applet is a small package used to develop applets. Following are the classes and interfaces of "java.applet" package.
Interfaces
- AppletContext: Used by the programmer to communicate with the execution environment of an applet. This is required to communicate between two applets.
- AppletStub: Used to develop custom applet viewers. Programmer can utilize this interface to communicate between applet and the browser environment
- AudioClip: Used to play audio clips. It comes with methods like play(), loop() and stop().
Class
- Applet: This class should be extended by our applet program. Applet is a class inherited from Panel of java.awt package.
Following is the hierarchy of Applet class.
thanks
???nice
bole to jakass life cycle bataya tune mamu
Tq its very useful and easily understandable one :)
Thanks again thank I happy
its wrong in applet life cycle first called public final void set stub(AppletStub as) method
very nice life cycle of applet its very useful
Thank you for the nice flow of applet lifecycle:-)
very nice
it is very useful for us….so thanks..
Thanx.
Its very helpfull note for me…..
So I again thanxx…
Thanks.
Thank you so much….. :-)
nice…
thanks
Thanks sir 4r explain
Thanks…
no thanks
Thanx for ur explanation sir it is very easy to learn sir i have a doubt
In the above ‘LifeTest.java’ when am executing this file am not writing ‘init()’ method even though it is executing remaining methods but in ur explanation ‘init()’ method starts ‘start()’ method but how ‘start()’ method will called with out writing ‘init()’ method? please clear me sir
Check the spelling of init() method you have written.
tnx…..
Thnx
Thanks
Thank you…