What is the difference between applet and swing

Showing Answers 1 - 4 of 4 Answers

Prasanna kanth

  • Sep 12th, 2005
 

I also have the same doubt, but still i not getting a clear idea

  Was this answer useful?  Yes

Component
Swing: Swing is light weght Component
Applet: Applet is heavy weight Components

Look and feel
Swing: Using UIManager swing have look and feel according to user view You can change look and feel
Applet: Applet Does not provide this facility

Compile
Swing: Swing uses for stand lone Applications, Swing have main method to execute the program
Applet: Applet need HTML code for Run the Applet

Swing: Uses MVC Model view Controller
Applet: Does not use MVC

Swing: Swing have its own Layout.. like most popular Box Layout
Applet: Applet uses AWT Layouts..like flowlayout

Thread
Swing: Swing have some Thread rules
Applet: There is no any rule

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions