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

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


001 Introduction to Java Programming:
    a Stroll Through Java
002 A Stroll through Java
003 Applet basics and Graphics window examples
004 The Simplest Java Application:  Hello, World!
005 The Simplest Java Applet:  Hello, World!
006 Displaying your applet from a Web page.
007 The Graphics class
008 Using Graphics properties
009 Drawing simple shapes
010 Passing parameters to an applet:   the HTML
011 Passing parameters to an applet:  the applet
012 Centering a string in the applet window.
013 Applet Flow of Control
014 Random color boxes example
015 Arrays of random colors
016 Object-Oriented Programming Examples:  Defining parent and child 
    classes, overloading constructors, class hierarchy
017 The Class Hierarchy of this example
018 Object-Oriented Programming in JAVA - defining a class
019 More methods in the class definition
020 Defining a child class
021 Using parent and child classes
022 Parent and child example, continued
023 Overloading Constructors
024 More child classes
025 Basic Thread Example
026 Introduction to Threads
027 Example showing the standard thread methods
028 Example showing thread methods, continued
029 More Basic Applet Examples: 
    Graphics Images and Double Buffering
030 An Image Drawing Example
031 Double Buffering
032 Event Handling
033 Using Mouse Events for User Interaction
034 Mouse Events:  Initializing the movable objects
035 Draw the objects with double buffering
036 Mouse Move Event
037 The Set of Mouse Dragging Events
038 More Methods in the Movable Point class
039 Keyboard Events
040 Abstract Windowing Toolkit:  Layouts and Components
041 AWT - Grid Layout with Two Components
042 AWT  - Adding Components to a Layout
043 AWT - Canvas Component
044 AWT - Handling Actions from Components
045 AWT - Panel Component with Buttons
046 I/O and Networking
047 I/O:  Reading a File known by URL
048 I/O:  Setting up the URL, Layout and Thread
049 I/O:  Reading the Text File


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