What are the benefits of using Swing over AWT?

Answers were Sorted based on User's Feedback



What are the benefits of using Swing over AWT?..

Answer / ranganathkini

1. Pluggable Look and Feel
2. Swing is more lightweight than AWT
3. Larger set of components such as tables, trees, sliders,
spinners, progress bars,internal frames and text components.
4. Components can be bound to keyboard events to react to
keystrokes.
5. Built on the MVC model
6. Better support for multi-threading

Is This Answer Correct ?    63 Yes 2 No

What are the benefits of using Swing over AWT?..

Answer / noorjahan

1.It is more powerful and flexible than awt
2.All the components of swing are non rectangular
3.Swing is totally implemented in java , while in case of
Awt,it uses the native code of the operating system.
4.Swing has transparent pixel while awt has opaque pixel.

Is This Answer Correct ?    26 Yes 5 No

What are the benefits of using Swing over AWT?..

Answer / archana hanchate

1.Swing provides both additional components and added functionality to AWT-replacement components.
2.Swing components are lightweight
3.Swing provides paint debugging support for when you build your own components

Is This Answer Correct ?    9 Yes 1 No

What are the benefits of using Swing over AWT?..

Answer / archana hanchate

Swing provides a richer set of components than AWT. They are 100% Java-based.

Is This Answer Correct ?    8 Yes 1 No

What are the benefits of using Swing over AWT?..

Answer / krithika

1.Swing provides both additional components and added functionality to AWT-replacement components.
2.Swing components are lightweight
3.Swing provides paint debugging support for when you build your own components

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More Swing Interview Questions

Why are swing components called lightweight components?

0 Answers  


What is the difference between AWT and Swing ?

1 Answers   TCS,


What are the different types of layout managers used in swing?

0 Answers  


What is import javax swing jframe?

0 Answers  


What is the difference between applications and applets?

0 Answers  






What are swings?

0 Answers  


What is jpanel swing?

0 Answers  


What are the advantages of swing?

0 Answers  


What are the features of swing in java?

0 Answers  


am searching for the job based on java, swing, currently working small company. they are not giving any salary slip, offer letter. so if i try outside for MNC's they start with previous company details. what should i do..? please help me to get job and make my career.

0 Answers   eClinicalWorks,


What are controls and what are different types of controls in awt?

0 Answers  


How to render an html page using only swing.

0 Answers  


Categories