Professional Documents
Culture Documents
Second Session
Object Oriented Programming
Java Code
HTML Code
Java Code
HTML Code
Java Code
HTML Code
Menu
Layouts
AWT
Components
Swing
Components
AWT Events
Windows
Controls
Containers
Text
controls
Java Swing
and AWT
Components
Windows
Containers
Controls
Component class
The superclass of
all graphical
GUIs Component
Windows
Examples
Window • Frame
• Dialog
• File Chooser
Container 1
Containers
Examples
Control 1
Container 2
• Pane
• Tabbed Pane
Control 2 • Split Pane
Controls
Examples
Control 3
• Label
• Button
• Check Box
• Radio Button
Main Components can be grouped hierarchically
File Chooser
Frame
1
2
3
3
4