Graphical User Interfaces (GUI)

Click here to start

Table of contents

Graphical User Interfaces (GUI)

The Component Hierarchy

The Swing Components

Layout Managers

The Layout Manager Hierarchy

Buttons and Flow Layout 

Buttons and Flow Layout (cont'd)

Border Layout

Border Layout (cont'd)

Grid Layout

Grid Layout (cont'd)

Grid Layout (cont'd)

Nested Panels

Nested Panels (cont'd)

Slide 15

Nested Panels (cont'd)

Event Handling 

The Event Object and Listener Classes 

Nested Panels, Handling Events

Event Handling Methods

Register The Listener

Event Handling Using Inner Class

Inner Class Listener 

Inner Class Listener (cont'd)

Inner Class Listener (cont'd)

Author: Xiaoping Jia

E-mail: jia@cti.depaul.edu

Homepage: http://www.depaul.edu/~xjia

Download presentation