What is the difference between Swing and AWT components



  • AWT components are heavy-weight, whereas Swing components are lightweight. Heavy weight components depend on the local windowing toolkit. 
  • For example, java.awt.Button is a heavy weight component, when it is running on the Java platform for Unix platform, it maps to a real Motif button.

No comments:

Post a Comment

AUTHOR