What are heavy weight components ?



What are heavy weight components ?..

Answer / Varsha Saxena

Heavyweight components in Swing are graphical components that have their own native peer (platform-specific window or control) and are directly managed by the underlying operating system. Examples of heavyweight components include Canvas, Frame, and Window. They can be more complex and powerful than lightweight components (which do not have a native peer), but they may also suffer from slower performance and reduced portability across different platforms.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Swing Interview Questions

How to create a swing gui in java?

1 Answers  


What is the function of abstractaction class?

1 Answers  


What is jpanel swing?

1 Answers  


Which method is used by the applet to recognize the height and width?

1 Answers  


What is the base class for all of swing components?

11 Answers   Infosys,


What is the difference between swing and awt?

1 Answers  


What is a component in swing?

1 Answers  


Is java swing a framework?

1 Answers  


Why should any swing call back implementation execute quickly?

1 Answers  


Which method is used for setting security in applets?

1 Answers  


Is there any heavyweight component in swings?

1 Answers  


Default layout for a ContentPane in JFC?

8 Answers   HCL,


Categories