Table of Content
CS4812 Java
Motivation
Historical Problems with AWT
Stop-gap remedies for JDK 1.1
Introducing Swing/JFC
Swing Packages
Overview of JFC/Swing Packages
Getting Swing
Short Examples
Hello Swing, Good Bye AWT
What’s the Big Deal?
Example: JButtons
Another Example
Why getContentPane()?
A JFrame Autopsy
JFrame Class View
JRootPane: The Content Pane
JRootPane: The Glass Pane
JFrame Disposal
Glass Panel Example
PPT Slide
PPT Slide
JPanel Layering Example
PPT Slide
Design
Button Design
MVC Paradigm
MVC Relationships
MVC Paradigm, à la Swing
PPT Slide
PPT Slide
Events & Actions
Events & Actions In Swing
Motivation
Motivation (cont’d)
Motivation (cont’d)
PPT Slide
PPT Slide
Example
PPT Slide
PPT Slide
Danger
Cautionary Notes: MVC & Threads
Cautionary Note: Mixing Types
PPT Slide
Trees in Swing
Trees in Swing
Hello Tree
Hello Tree (cont’d)
PPT Slide
PPT Slide
Tree Customizations
Tree Customization: Cont’d
Tree Events
Tree Events: Model Changes
Tree Events: Selection Changes
Tree Events: View Changes
Tree Not-So Basics
|
Author: dagon
Email: dagon@cc.gatech.edu
Home Page: http://www.cc.gatech.edu/classes/cs4812_99_winter
Download presentation source
|