what is the diff's between swing and applet?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / prem
swing is a light weight comp.
applet is heavy weight comp.
Is This Answer Correct ? | 2 Yes | 0 No |
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 |
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 |
Answer / imlepakshi
Swing : heavy weight
Applet : light weight
Is This Answer Correct ? | 32 Yes | 94 No |
What is the relationship between clipping and repainting?
How to generate bill in java swing?
What is the what is the difference between invokeandwait() and invokelater()? ?
How can you draw using Swing components?
What is JTable and what is its purpose?
What are controls and what are different types of controls in awt?
What are the differences between Swing and AWT?
please any one explain this project: Minimizing recovery state in geographic ad hoc routing
What is difference between applet and swing?
What is the difference between a scrollbar and a jscrollpane ?
What is the function of abstractaction class?
How to move from one page to another in java swing?