Foilset Search Full Index for Basic foilset

Introductory Lectures on Java -- An Overview Mixing Code and Comments

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

Java is an object-oriented language based on C++ suitable for general distributed applications programming. In this course, we will concentrate on Java applets to program application interfaces on the World Wide Web.
These lecture slides on programming in Java will show a series of small programming examples, designed to illustrate the main features of the language.
They accompany the Java Course Module, by Geoffrey Fox, which covers more details about the language.
Some examples were constructed from "Teach yourself Java in 21 days", by Laura Lemay and Charles L. Perkins, February 1996, Sams.net Publishing, and from "core Java", by Gary Cornell and Cay Horstmann, the SunSoft Press Java Series, 1996.


Table of Contents for Introductory Lectures on Java -- An Overview Mixing Code and Comments

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

1 Introduction to Java Programming:
a Stroll Through Java
2 A Stroll through Java
3 Applet basics and Graphics window examples
4 The Simplest Java Application: Hello, World!
5 The Simplest Java Applet: Hello, World!
6 Displaying your applet from a Web page.
7 The Graphics class
8 Using Graphics properties
9 Drawing simple shapes
10 Passing parameters to an applet: the HTML
11 Passing parameters to an applet: the applet
12 Centering a string in the applet window.
13 Applet Flow of Control
14 Random color boxes example
15 Arrays of random colors
16 Object-Oriented Programming Examples: Defining parent and child classes, overloading constructors, class hierarchy
17 The Class Hierarchy of this example
18 Object-Oriented Programming in JAVA - defining a class
19 More methods in the class definition
20 Defining a child class
21 Using parent and child classes
22 Parent and child example, continued
23 Overloading Constructors
24 More child classes
25 Basic Thread Example
26 Introduction to Threads
27 Example showing the standard thread methods
28 Example showing thread methods, continued
29 More Basic Applet Examples:
Graphics Images and Double Buffering
30 An Image Drawing Example
31 Double Buffering
32 Event Handling
33 Using Mouse Events for User Interaction
34 Mouse Events: Initializing the movable objects
35 Draw the objects with double buffering
36 Mouse Move Event
37 The Set of Mouse Dragging Events
38 More Methods in the Movable Point class
39 Keyboard Events
40 Abstract Windowing Toolkit: Layouts and Components
41 AWT - Grid Layout with Two Components
42 AWT - Adding Components to a Layout
43 AWT - Canvas Component
44 AWT - Handling Actions from Components
45 AWT - Panel Component with Buttons
46 I/O and Networking
47 I/O: Reading a File known by URL
48 I/O: Setting up the URL, Layout and Thread
49 I/O: Reading the Text File

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 Dec 14 1997