GUI Components PowerPoint PPT Presentation

presentation player overlay
1 / 3
About This Presentation
Transcript and Presenter's Notes

Title: GUI Components


1
GUI Components
  • Deitel, Chapter 11

2
AWT vs. Swing
  • Java provides two sets of GUI components
  • Those contained in the Abstract Windowing Toolkit
  • Tend to be tied to the underlying o/s and
    hardware
  • Called heavyweight components
  • Those contained in Java Swing
  • Tend not to be tied to underlying o/s and
    hardware
  • Called lightweight components
  • Implication AWT components look different on
    different platforms. Swing components look the
    same.

3
Swings Inheritance Hierarchy
  • Object
  • Component
  • Container
  • JComponent
Write a Comment
User Comments (0)
About PowerShow.com