HELP! * GREY=local Full HTML
for
LOCAL foilset Basic Lectures on Java Language Applets Graphics Networking
Given by Geoffrey C. Fox at Trip to China and Icase Tutorial on July
12-28 and June 10-13 96. Foils prepared July 10 1996
Abstract
* Foil Index for this file
See also color IMAGE
- Overview including History and alpha versus production issues
- Comparison of Java and Javascript
- Overall Java Philosophy and Features including security etc.
- Java Programming Language
- Object Oriented and Class Structure
- Exceptions
- Applet Programming and Threads
- Abstract Windowing Toolkit
- Networking and I/O; native classes
- Futures and HPCC Implications
- Hot Java is not discussed as current version not evaluated
Table of Contents for full HTML of Basic Lectures on Java Language
Applets Graphics Networking
1 Java Tutorial - June 1996
Java Language , Applets ,
Graphics and Abstract Windows Toolkit
Networking etc.
http://www.npac.syr.edu/users/gcf/icasejavajune96/index.html
http://www.npac.syr.edu/projects/cps616spring96/index.html
given at ICASE June 10-13 1996
Trip to China July 12-28 1996
2 Abstract of Java Tutorial
3 Overview and History of Java Development
4 What are Java and HotJava in a NutShell?
5 HotJava Story 1994-1996
6 HotJava Alpha Capabilities
7 HotJava's Future 1996- ?
8 Overview -- Java and the World Wide Web
9 Overview -- What are Java applets in detail?
10 Running a Java Applet
11 History of Java Language and Team
12 History of Java Language and Team (contd)
13 JDK 1.0 -- The Real Java Development
Kit!
14 Java Beta Books -- I
15 Java Beta Books -- II
16 Java Beta Books -- III
17 Java vs. JavaScript
18 Comparison of Java and JavaScript --
I
19 Comparison of Java and JavaScript --
II
20 Overall Java Philosophy and Features
21 Some Key Java Features
22 Java Features -- It's Simple and Familiar!
23 Java Features -- It's Object-oriented
24 Java Features -- It's Architecture-Neutral
25 Java Features -- It's Portable
26 Java Features -- It's Somewhat Interpreted
27 Java Features -- It's Distributed
28 Java Features -- It's Robust
29 Java Features -- It's (Hopefully) Secure
30 Java Features -- High Performance
31 Java Features -- It's Multithreaded
32 Java Features -- It's Dynamic
33 Sun's Comparison of Language Features
34 The Java Programming Language
35 Java Language Discussion -- Table of
Contents
36 Program structure and the simplest examples
37 Java Language -- Program Structure
38 Java Language -- Lexical Issues I
39 Java Language -- Lexical Issues II
40 Java in Practice --
Applets and Applications
Use from HTML
41 Applications Versus Applets - I
42 Applications Versus Applets - II
43 Applet Tag: Calling Applets from HTML
- I
44 Applet Tag: Calling Applets from HTML
- II
45 <param> Tags and Applets
46 Hello World Applet from Sun Tutorial
Getting Started
47 Hello World Application from Sun Tutorial
Getting Started
48 Java Language Basics
An example using arrays is found at the end of the Applet Basics section
of JavaStroll
49 Java Language -- Variable/Expression
Types
50 Java Language -- Types: Array
51 Java Language -- More on Arrays
52 Java Language -- Expressions
53 Java Language -- Control Flow I
54 Java Language -- Control Flow II --
continue
55 Java Language -- Control Flow III --
break and for loop
56 Java Language -- Control Flow IV --
break and switch
57 Java Language -- Control Flow V -- continue
and switch
58 The Java Object Model: Classes, Instances
and Methods
59 The Java Object Model Overview
60 Date Application from Sun Tutorial
Anatomy of an Application
61 Counting Application from Sun Tutorial
Nuts and Bolts of Java
62 Java Language -- Overview of Classes
63 Instantiating an Object from its Class
64 Constructors of Objects
65 Class Finalizers
66 Java Language -- Types of Classes -
I
67 Java Language -- Types of Classes -
II
68 Java Language -- Methods
69 The Java Object Model: Inheritance and
the Class Hierarchy
70 Use of Methods Defined in Parent
71 Use of Methods Defined in Parent but
overridden in child class
72 Comments on Casting
73 Review of the Array Class
74 Array - A Pseudo Class!
75 By value and By reference
76 Comments on Overloading and Overriding
in Classes
77 Object-Oriented
Programming Examples:
Basic Class Operations
78 A little more complicated Paint Method
for Applets
79 Some More Methods for mPoint
80 Inheritance or Subclassing
81 Abstract Methods
and Classes
Interfaces
(classes without implementation)
82 Comments on abstract Methods and Classes
83 Java Language -- Interfaces - Overview
84 Cars as an Examples of Interfaces/ Multiple
Inheritance
85 Picture of Interfaces and Classes for
Cars and their Manufacture
86 Java Language -- Interface Example --
Implementing Storable
87 Interfaces can be used as Classes in
type specification
88 Further Features of Interfaces
89 More on Interfaces -- Why use them
90 More on Interfaces -- Real Examples
91 Packages in Java
92 Overview of Packages and Directory Structure
93 Using packages
94 Java System Packages
95 Somewhat more Detail on Applets and
Graphics
96 The java.awt.Graphics Class
97 The java.awt.Font and FontMetrics Classes
98 The java.awt.Color Classes
99 Some Basic Methods for Applets -- I
100 Some Basic Methods for Applets --
II
101 A Simple Useful Applet from Sun for
Animation
102 Sun's Animator.class Applet
103 Details of Using the Sun animator
Applet --I
104 Details of Using the Sun animator
Applet --II
105 Threads are part of the Java Language!
106 Initial Remarks on Threads
107 Threads as Discussed in Sun's Tutorial
108 Thread Execution and Concurrency
109 The Life of a Thread
110 Sun's Digital Clock Applet to Illustrate
Threads -- I
111 Sun's Digital Clock Applet to Illustrate
Threads -- II
112 Synchronized Method and Blocks
113 Sun's Synchronized Block Example
114 Threads and Synchronization - I
115 Threads and Synchronization - wait()
116 Threads and Synchronization - notify()
117 Threads and Synchronization - Example
118 Useful Basic Java Classes
119 The Overarching Object Class
120 Determining and Testing Class of Object
121 java.lang.Object Wrappers
122 The java.lang.Math class
123 The Date class
124 The String class
125 More on Strings, and the StringBuffer
class
126 ReverseString Class from Sun Tutorial
127 The Vector class
128 Methods for Vectors
129 The Hashtable class
130 More on the Java Language: Exceptions
131 Java Language -- Handling Errors Using
Exceptions
132 Basic Structure of Exception Handling
in Nested Calls
133 Examples of Exception Hierarchy
134 finally illustrated by Handling Exceptions
in Closing a File
135 Classes of Exceptions
136 Exceptions in Applets
137 Summary of Object-Oriented Concepts
138 Summary of Object-Oriented Concepts
- I
139 Summary of Object-Oriented Concepts
- II
140 Back to Details on Graphics and Animation
141 Graphics is Event-Driven: paint method
142 Changing Graphics: repaint method
143 Some Graphics Methods
144 Getting Images the getImage Applet
Method
145 Drawing Images -- the drawImage Graphics
Method
146 Image Downloading -- imageObserver,
MediaTracker
147 Flickering in Applets and its Solution
148 The default Update(Graphics g) Method
149 ColorSwirl -- An Example from Teach
Yourself Java in 21 Days - I
150 ColorSwirl -- An Example from Teach
Yourself Java in 21 Days - run Method
151 ColorSwirl -- An Example from Teach
Yourself Java in 21 Days - paint and update
152 Double Buffering to Reduce Flicker
- I
153 Double Buffering to Reduce Flicker
- II
154 Event Handling
155 Events in the java.awt -- Mouse, Keyboard
Interaction - I
156 Events in the java.awt -- Mouse, Keyboard
Interaction - II
157 Abstract Windowing Toolkit (AWT):
Components such as buttons, textfields, etc.
158 Structure of the java.awt GUI Components
- I
159 Structure of the java.awt GUI Components
- II
160 Picture of the AWT Component Class
and its inheritance
161 Some Simple AWT Components -- label,button
162 AWT Components -- Checkbox
163 AWT Components -- Radio Buttons ,
CheckboxGroup
164 Some Further AWT Components -- typical
subunits of panels
165 Some Further AWT Components -- Canvas,
Window - I
166 Some Further AWT Components -- Canvas,
Window - II
167 Abstract Windowing Toolkit (AWT):
Actions in response to Mouse and Keyboard etc.
168 Actions associated with Components
in AWT - I
169 Actions associated with Components
in AWT - II
170 Abstract Windowing Toolkit (AWT):
Layouts
171 Layout of Components in a Panel
172 Description and Example of BorderLayout
173 Brief Description of Four Other LayoutManager's
174 FlowLayouts in detail
175 Hierarchical use of LayoutManagers
176 Networking, Web Access and I/O
177 Networking, Web Access and I/O in
Java
178 Security Concerns for Applets
179 Table for Java file and network access
180 Accessing URL's in Java -- URL, showDocument
181 Accessing URL's in Java -- URLConnection
182 Input/Output in Java -- InputStreams
-- I
183 Input/Output in Java -- (Filter etc.)InputStreams
-- II
184 Accessing URL's in Java -- InputStreams
and URLConnections
185 Performance
and dreaming about the Future
186 Use of Native Classes to Speed Up
Execution
187 Comments on Native C Methods
188 HPCC and Java -- High Performance
HPjava -- I
189 HPCC and Java -- HPjava -- II
This table of Contents
Abstract
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* Critical Information in IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* Critical Information in IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* Critical Information in IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* Critical Information in IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* Critical Information in IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* Critical Information in IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* Critical Information in IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index
HELP! * GREY=local
HTML version of LOCAL Foils prepared July 10 1996
Foil
From Basic Lectures on Java Language Applets Graphics Networking
Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96.
* See also color IMAGE
Full
HTML Index