What is the difference between AWT & Swing?

Answer Posted / g.lakshmi

AWT are heavy weight components while Swing are light
weight components.

Light weight components have transparent pixels where as
heavy weight is always opaque.

Light weight components are non-rectangular.Heavy weight
components are rectangular

Is This Answer Correct ?    182 Yes 49 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is actionlistener in java swing?

535


How to create image slideshow in java swing?

609


What is the use of double buffering in swings?

553


What is double buffering ?

568


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

675






Where is java swing used?

580


What are the advantages of java swing over angular?

488


What is an event and what are the models available for event handling?

542


What is jfc? What are the features of jfc?

616


What is the difference between invokeAndWait() and invokeLater()?

593


What is frame in java swing?

538


What is java swing package?

509


Which containers use a border Layout as their default layout in swing?

560


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

648


Who created the swing?

499