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

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


001 Java Tutorial -
    Spring 1997
    Part 3:  Graphics and the Abstract Windowing Toolkit 
    http://www.npac.syr.edu/projects/tutorials/Java/ 
002 More Detail on Applets and Graphics
003 The java.awt.Graphics Class
004 Graphics is Event-Driven: paint method
005 Changing Graphics:  repaint method
006 The java.awt.Font and FontMetrics Classes
007 Centering a string in the applet window.
008 The java.awt.Color Classes
009 Introducing a Single Thread
    (See later for real discussion of thread use)
010 Introduction to Threads
011 Example showing the standard thread methods
012 Example showing thread methods, continued
013 Images
    and Double Buffering
014 Getting Images Downloaded
015 Drawing Images to the applet window
016 Image Downloading -- imageObserver, MediaTracker
017 An Image Drawing Example
018 Flickering in Applets and its Solution
019 The default Update(Graphics g) Method
020 Double Buffering to Reduce Flicker - I
021 Double Buffering to Reduce Flicker - II
022 Double Buffering
023 Event Handling
    using the JDK 1.0 Event Model
024 Events in the java.awt -- Mouse, Keyboard Interaction - I
025 Events in the java.awt -- Mouse, Keyboard Interaction - II
026 Using Mouse Events for User Interaction
027 Mouse Events:  Initializing the movable objects
028 Draw the objects with double buffering
029 Mouse Move Event
030 The Set of Mouse Dragging Events
031 More Methods in the Movable Point class
032 Keyboard Events
033 Abstract Windowing Toolkit (AWT): 
    Components such as buttons, textfields,  etc.
    and related Events
034 Structure of the java.awt GUI Components - I
035 Structure of the java.awt GUI Components - II
036 Picture of the AWT Component Class and its inheritance
037 Some Simple AWT Components -- label,button
038 AWT Components -- Checkbox 
039 AWT Components -- Radio Buttons , CheckboxGroup
040 Actions associated with Components in AWT - I
041 Actions associated with Components in AWT - II
042 A more general way to handle events
043 Some Further AWT Components -- typical subunits of panels
044 AWT Components -- Text Fields & Areas
045 Some Further AWT Components -- Canvas, Window (Frame and Dialog)
046 Frames can have MenuBars
047 Dialog Boxes
048 Abstract Windowing Toolkit (AWT):
    Layouts
049 Layout of Components in a Panel
050 Description and Example of BorderLayout
051 Brief Description of Four Other LayoutManager's
052 FlowLayouts in detail
053 Hierarchical use of LayoutManagers
054 AWT - Grid Layout with Two Components
055 AWT  - Adding Components to a Layout
056 AWT - Canvas Component
057 AWT - Panel Component with Buttons
058 AWT - Handling Actions from Components


© 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