To use Applet in java program or execution can done by only two ways, Before that, Applet are not Stand-alone program.they run either a web browser or an applet viewer provided by JDK (Java Development Kit).
Applet Program does not begin with main() function.It has its own functions such as:
1.void init( )
2.Void start( )
3. void stop( )
4. void showStatus( )
5. void destroy( )
6. void paint(Graphics g) defined in AWT component class, where applet will override it.
In Contrast, Swing Applet has different mechanism to execute their program.
To get more details more about java functions : Refer Java Category
Applet Program does not begin with main() function.It has its own functions such as:
1.void init( )
2.Void start( )
3. void stop( )
4. void showStatus( )
5. void destroy( )
6. void paint(Graphics g) defined in AWT component class, where applet will override it.
In Contrast, Swing Applet has different mechanism to execute their program.
To get more details more about java functions : Refer Java Category
No comments:
Post a Comment