what is the diff's between swing and applet?

Answers were Sorted based on User's Feedback



what is the diff's between swing and applet?..

Answer / meenu

1. applets are dependent on windows..swings are independent.
2. applets are heavy weight.. swings are light weight.
3. applets required browser.. swings not required.
4. applets does not need any main method.. swings need.
5. to add applet we use java.. for swings javax.
6. applets use awt layouts.. swings has its own layout.

Is This Answer Correct ?    4 Yes 0 No

what is the diff's between swing and applet?..

Answer / hrishikesh

1. Swing is light weght Component. Applet is heavy weight Components

2. Swing Using UIManager. Swing have look and feel according to user view u can change look and feel. Applet Does not provide this facility

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

4. Swing uses MVC Model view Controller. Applet not

5. Swing have its own Layout ..like most popular Box Layout Applet uses Awt Layouts..like flowlayout

6. Swing have some Thread rules. Applet doent have any rule.

Is This Answer Correct ?    3 Yes 0 No

what is the diff's between swing and applet?..

Answer / vigneswaran

|
applet | swing
___________________________________________________________
1.we are used empedded html |
in applet | but not used in swing
|
2.heavy weight | high weight
|
3.no Look and feel | Look and feel
|
|
|
|
|

Is This Answer Correct ?    3 Yes 1 No

what is the diff's between swing and applet?..

Answer / prem

swing is a light weight comp.
applet is heavy weight comp.

Is This Answer Correct ?    2 Yes 0 No

what is the diff's between swing and applet?..

Answer / sourabh

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 u 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 : not

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

Is This Answer Correct ?    1 Yes 0 No

what is the diff's between swing and applet?..

Answer / arun k

swings:
swings are the best for designing an application in java and it gives good look and feel
it is not depends on web browsers
it can run on any where through command prompt
it is a light weight

applet:
applets are the best for designing an application in java
it not gives look and feel
it is depends on web browsers
it can run through web browsers
it is a heavy weight
default layout is flow layout

Is This Answer Correct ?    0 Yes 0 No

what is the diff's between swing and applet?..

Answer / imlepakshi

Swing : heavy weight
Applet : light weight

Is This Answer Correct ?    32 Yes 94 No

Post New Answer

More Swing Interview Questions

What is the role of java swing?

0 Answers  


Why swing is better than awt?

0 Answers  


Is swing better than awt?

0 Answers  


What is jfc swing in java?

0 Answers  


What does javax swing do?

0 Answers  






How to move from one page to another in java swing?

0 Answers  


What is swing gui in java?

0 Answers  


What is the difference between invokeAndWait() and invokeLater()?

0 Answers  


What are the components of swing?

0 Answers  


Which package is needed for swing components?

0 Answers  


How to render an html page using only swing.

0 Answers  


What is import javax swing * used for?

0 Answers  


Categories