Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 ?    57 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 4 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 ?    5 Yes 0 No

Post New Answer



More Swing Interview Questions

What is the use of double buffering in swings?

0 Answers  


What is pane in swing?

0 Answers  


Name the method, to expand & collapse nodes in a Jtree?

1 Answers   Wipro,


What are the advantages of the event-delegation model over the event-inheritance model?

0 Answers  


Why are swing components called lightweight?

0 Answers  






What is the base class for all of swing components?

11 Answers   Infosys,


What is jpanel in java swing with example?

0 Answers  


when i run Frame program, it display output in supparate window.i try to close using "X" it not close.min'-' & max'+' are working.pls what is problem? i run in editplus. folowing program i given. import java.awt.*; class Form1 { Frame f1=new Frame("loginpage"); Label l1=new Label("username"); Label l2=new Label("password"); TextField tf1=new TextField(); TextField tf2=new TextField(); Button b1=new Button("submit"); Form1() { f1.setLayout(new FlowLayout()); f1.add(l1); f1.add(tf1); f1.add(l2); f1.add(tf2); f1.add(b1); f1.setSize(437,440); f1.setVisible(true); //f1.dispose(); } public static void main(String[] args) { Form1 f=new Form1(); } }

4 Answers  


What is swing and its features in java?

0 Answers  


What are the differences between Swing and AWT?

0 Answers  


I want to change the appearance of Frame in Runtime, what class can be used to do this?

2 Answers   TCS, Wipro,


What is the use of jfc in java swing?

0 Answers  






Categories