Explain the difference between the AWT components and the Swing Components using examples

      

Explain the difference between the AWT components and the Swing Components using examples

  

Answers


gregory
? AWT – Abstract Windows Toolkit (java.awt package)
– The older version of the components
– Rely on “peer architecture”…drawing done by the OS platform on which the
application/applet is running
– Considered to be “heavy-weight”
? Swing (javax.swing package)
– Newer version of the components
– No “peer architecture”…components draw themselves
– Most are considered to be “lightweight”
gregorymasila answered the question on January 24, 2018 at 17:39


Next: Distinguish between abstract classes and interfaces
Previous: Differentiate between the following layout managers i. GridLayout ii. BorderLayout iii. FlowLayout

View More Computer Science Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions