Foilset Search
Full Index for Basic foilset
Java Academy:Graphical User Interface
Given by
Nancy McCracken
at NPAC Java Academy February--April 99 on
March 1999
.
Foils prepared
March 26 1999
These slides present a simplified view of the Abstract Windowing Toolkit (AWT), which is used in Java to build Graphical User Interfaces (GUI)s.
The building blocks of a GUI are called Components
The basic ones shown here are Labels, Buttons, TextFields, TextAreas, and Checkboxes
We show simple Layouts to arrange Components (you don't have to say exactly where to put everything).
We introduce some applet templates for Components and Graphics
Note that components should not be put in the same applet area as drawing with Graphics.
Table of Contents for Java Academy:Graphical User Interface
There are two types of foils -- html and image which are each available in basic and JavaScript enabled "focused" style
(basic:
)(focus style:
) Denote Foils where Image Critical
(basic:
)(focus style:
) Denote Foils where Image has important information
(basic:
)(focus style:
) Denote Foils where HTML is sufficient
denotes presence of Additional linked information which is greyed out if missing
1
Java Academy: Graphical User Interface
2
Part 2A: Graphical User Interface
3
Labels
4
Button
5
The ActionListener Interface
6
Handling Button Events
7
TextFields
8
TextAreas
9
Layouts
10
GridLayout
11
BorderLayout
12
Nesting Layouts with Panels
13
Example of Nested Layout
14
Canvas
15
Defining another class
16
Using the new class
17
Animation
18
Threads
19
Starting and Stopping the Thread
20
Removing Flickering
Full WebWisdom URL and this Foilset Search
This contains all WebWisdom links preceded by those referenced in this foilset
©
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu
If you have any comments about this server, send e-mail to
webmaster@npac.syr.edu
.
Page produced by
wwwfoil
on Fri Mar 26 1999