Find this at http://www.npac.syr.edu/users/gcf/javatutorial398/

Java Tutorial 98- 3: Graphics and the Abstract Windowing Toolkit

Given by Geoffrey C. Fox, Nancy McCracken at NAVO Tutorial on Sept 23 1998. Foils prepared Sept 21 1998

This version of Part3 is Fully Upgraded to Java1.1 with critical AWT changes
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 98- 3: Graphics and the Abstract Windowing Toolkit


001 Java Tutorial 1998   Part 3:  Graphics and the Abstract Windowing 
    Toolkit
002 Applets and Graphics
003 The java.awt.Graphics class
004 Methods for drawing in the Graphics Class
005 Graphics is Event-Driven: paint method
006 Changing Graphics:  repaint method
007 The java.awt.Font and FontMetrics Class
008 The java.awt.Color Classes
009 Graphics Examples
010 Introducing a Single Thread
011 Introduction to Threads
012 Example showing the standard thread methods
013 Example showing thread methods, continued
014 Motion (or Animation) Example using threads and parent/child 
    hierarchy
015 Designing the Classes
016 The Class Hierarchy of this example
017 Images and Double Buffering
018 Getting Images Downloaded
019 Drawing Images to the applet window
020 Image Downloading -- imageObserver, MediaTracker
021 An Image Drawing Example
022 Flickering in Applets and its Solution
023 The default Update(Graphics g) Method
024 Double Buffering to Reduce Flicker - I
025 Double Buffering to Reduce Flicker - II
026 Double Buffering
027 Abstract Windowing Toolkit (AWT):
028 AWT GUI Components
029 Picture of the AWT Component Class and its inheritance
030 Basic AWT Components
031 Basic AWT Component:  Label
032 Basic AWT Component:  Button
033 The AWT Event Model
034 Setting up ActionEvents for a Button
035 The Event Classes
036 AWT Components -- Text Fields & Areas
037 AWT Components -- Checkbox
038 AWT Components -- Radio Buttons , CheckboxGroup
039 Some Further AWT Components -- typical subunits of panels
040 Keyboard and Mouse Events
041 Mouse Events
042 Using Mouse Events for User Interaction
043 Separate Classes for Event Listeners
044 Adapter Classes
045 Abstract Windowing Toolkit (AWT): Layouts
046 Layout of Components in a Panel
047 Brief Description of LayoutManagers
048 Description and Example of BorderLayout
049 FlowLayouts in detail
050 GridLayouts
051 Hierarchical Use of Layouts
052 Abstract Windowing Toolkit (AWT): More Components
053 AWT Component:  Canvas
054 Some Further AWT Components:  Window (Frame and Dialog)
055 Frames can have MenuBars
056 Dialog Boxes
057 New Components: ScrollPanes and PopupMenus
058 PPT Slide


© 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 Sat Nov 28 1998