IntelliJ Java IDE
The moose likes Applets and the fly likes Simple Questions! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Simple Questions!" Watch "Simple Questions!" New topic
Author

Simple Questions!

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
Hi,
What is difference between :
(1) init & start
(2) stop & destroy
(3) AWT: Container & Component & Frame & Applet
AND what is Insect and Canvas?
I read in one book but i coudn't grab that much! So plz anybody can explain?
Thanks in advance,
Angela
Alan Shore
Ranch Hand

Joined: Apr 16, 1999
Posts: 147
(1) init() gets called by the browser when the applet is loaded.
start() is called every time the applet page is accessed.
(2) stop() is called when you leave the web page.
destroy() is called when the browser exits altogether.
(3) AWT: look at the heirarchy.
Component contains Container.
Container contains Window and Panel.
Window contains Frame.
Panel contains Applet.
I don't know what you mean by: Insect.

[This message has been edited by Glen Tanner (edited March 07, 2001).]
Suneel Setlur
Ranch Hand

Joined: Nov 26, 2000
Posts: 202
Hi
I guess it is "INSET".
These are border representations of a container.
Suneel

Suneel
 
IntelliJ Java IDE
 
subject: Simple Questions!
 
Threads others viewed
Servlet Response
what is that?
Complex DAO
ICQ Number
3.0M5
developer file tools