Why are swing components called lightweight?



Why are swing components called lightweight?..

Answer / Shalu Singh

Swing components are called lightweight because they are implemented as separate threads and share the same event dispatch thread (EDT), which allows for better performance and more responsive user interfaces compared to AWT components.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Swing Interview Questions

Is java swing still used?

1 Answers  


Why would you use swingutilities.invokeandwait or swingutilities.invokelater?

1 Answers  


How do you swing an applet?

1 Answers  


Why should the implementation of any swing callback (like a listener) execute quickly?

1 Answers  


Who created the swing?

1 Answers  


Default layout for a ContentPane in JFC?

8 Answers   HCL,


What is difference between awt and swing?

1 Answers  


What is the difference between AWT and Swing ?

1 Answers   TCS,


Is swing still used in java?

1 Answers  


What is swing gui?

1 Answers  


What is an event handler in swing?

1 Answers  


What is java panel swing?

1 Answers  


Categories