What is the difference between JPanel and JFrame and relationship to lightweight, heavyweight?
Heavyweight components like "AWT" components must be drawn using native GUI on a specific platform.
Where lightweight components like "Swing" components are drawn by java and don't rely on native GUI.