Foilset Search Full Index for Basic foilset

Java Tutorial - Summer 1997 Part 3:Graphics and the Abstract Windowing Toolkit

Given by Nancy J. McCracken,Geoffrey C. Fox at CEWES Tutorial on July 22-25 1997. Foils prepared 19 July 97

In Part 1 and 2 of the Tutorial We Covered:
  • Overview including History and alpha versus production issues
  • Comparison of Java and Javascript
  • Overall Java Philosophy and Features including security etc.
  • Java Programming Language
  • Introduction to Applications,Applets and their Invocation from HTML
  • "Hello World" and Basic Graphics Applets
  • Object Oriented and Class Structure
  • Methods, Constructors etc.
  • Interfaces
  • Exceptions
In This Part of the Java Tutorial We Cover:
Introduction to Threads
Graphics in more detail
  • Animator Class
  • Downloading and Drawing Images
Abstract Windowing Toolkit
  • Keyboard and Mouse Events
  • Components, Actions, Layouts
And in the Remaining Part of the Java Tutorial We Cover:
  • Threads in More Detail
  • Useful Classes such as Object String etc.
  • Networking and I/O
  • Futures and HPCC Implications


Table of Contents for Java Tutorial - Summer 1997 Part 3:Graphics and the Abstract Windowing Toolkit

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 HTML is sufficient
denotes presence of Additional linked information which is greyed out if missing

1 Java Tutorial -
Spring 1997
Part 3: Graphics and the Abstract Windowing Toolkit
http://www.npac.syr.edu/projects/tutorials/Java/
2 More Detail on Applets and Graphics
3 The java.awt.Graphics Class
4 Graphics is Event-Driven: paint method
5 Changing Graphics: repaint method
6 The java.awt.Font and FontMetrics Classes
7 Centering a string in the applet window.
8 The java.awt.Color Classes
9 Introducing a Single Thread
(See later for real discussion of thread use)
10 Introduction to Threads
11 Example showing the standard thread methods
12 Example showing thread methods, continued
13 Images
and Double Buffering
14 Getting Images Downloaded
15 Drawing Images to the applet window
16 Image Downloading -- imageObserver, MediaTracker
17 An Image Drawing Example
18 Flickering in Applets and its Solution
19 The default Update(Graphics g) Method
20 Double Buffering to Reduce Flicker - I
21 Double Buffering to Reduce Flicker - II
22 Double Buffering
23 Event Handling
using the JDK 1.0 Event Model
24 Events in the java.awt -- Mouse, Keyboard Interaction - I
25 Events in the java.awt -- Mouse, Keyboard Interaction - II
26 Using Mouse Events for User Interaction
27 Mouse Events: Initializing the movable objects
28 Draw the objects with double buffering
29 Mouse Move Event
30 The Set of Mouse Dragging Events
31 More Methods in the Movable Point class
32 Keyboard Events
33 Abstract Windowing Toolkit (AWT):
Components such as buttons, textfields, etc.
and related Events
34 Structure of the java.awt GUI Components - I
35 Structure of the java.awt GUI Components - II
36 Picture of the AWT Component Class and its inheritance
37 Some Simple AWT Components -- label,button
38 AWT Components -- Checkbox
39 AWT Components -- Radio Buttons , CheckboxGroup
40 Actions associated with Components in AWT - I
41 Actions associated with Components in AWT - II
42 A more general way to handle events
43 Some Further AWT Components -- typical subunits of panels
44 AWT Components -- Text Fields & Areas
45 Some Further AWT Components -- Canvas, Window (Frame and Dialog)
46 Frames can have MenuBars
47 Dialog Boxes
48 Abstract Windowing Toolkit (AWT):
Layouts
49 Layout of Components in a Panel
50 Description and Example of BorderLayout
51 Brief Description of Four Other LayoutManager's
52 FlowLayouts in detail
53 Hierarchical use of LayoutManagers
54 AWT - Grid Layout with Two Components
55 AWT - Adding Components to a Layout
56 AWT - Canvas Component
57 AWT - Panel Component with Buttons
58 AWT - Handling Actions from Components

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 Sun Oct 12 1997