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

Introduction to Java Programming: a Stroll Through Java

Given by Nancy J. McCracken at ECS400 Senior Undergraduate Course on Spring Semester 1996. Foils prepared 27 February 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.
Text: "Teach yourself Java in 21 days", by Laura Lemay and Charles L. Perkins, February 1996, Sams.net Publishing.


Table of Contents for Introduction to Java Programming: a Stroll Through Java


001 A Stroll through Java
002 A Stroll through Java
003 The Simplest Java Application:  Hello, World!
004 The Simplest Java Applet:  Hello, World!
005 Displaying your applet from a Web page.
006 The Graphics class
007 Using Graphics properties
008 Passing parameters to an applet:   the HTML
009 Passing parameters to an applet:  the applet
010 Drawing simple shapes
011 Centering a string in the applet window.
012 Random color boxes example
013 Arrays of random colors
014 Applet Flow of Control
015 Threads
016 Example showing the standard thread methods
017 Example showing thread methods, continued
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 The Class Hierarchy of this example
026 Getting Images
027 Drawing Images
028 An Image Drawing Example
029 Double Buffering
030 Using Mouse Events for User Interaction
031 Mouse Events:  Initializing the movable objects
032 Mouse Move Event
033 The Set of Mouse Dragging Events
034 More Methods in the Movable Point class
035 Keyboard Events
036 AWT - Grid Layout with Two Components
037 AWT  - Adding Components to a Layout
038 AWT - Canvas Component
039 AWT - Panel Component with Buttons
040 AWT - Handling Actions from Components
041 Designing an AWT User Interface - the Pizza Order example
042 Pizza Order:  GUI Components
043 Pizza Order:  the Specials Component
044 Pizza Order:  the Toppings Component and Graphics Canvas
045 Pizza Order:  the Class Hierarchy
046 Pizza Order:  the Calling Hierarchy


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 Tue Feb 18 1997