~ Java for Web Page Production ~

Course Outline

<<  Back to Home Page

Contents

Session No Session Description
Session 1 Learn about Java & Create your first Applet
Session 2 Fundamentals of Programming & Object-Orientation
Session 3 More on Programming and Object Orientation
Session 4 Looping; Containers, Panels and Frames; Random numbers
Session 5 Scoring, AWT and Swing, Interfaces and Event Handling

~~Study Week~~

Session 6 Drawing 2D Graphics
Session 7 Multimedia
Session 8 Building Menus; Planning a project (Breakout)
Session 9 Developing a project - Breakout
Session 10 Deployment and where to go from here... 

Session 1 - Learn about Java, and create your first Applet

Click here to see a Microsoft Word representation of this session.

Contents Back to Top
Introduction Health & Safety Registration
Course aims & Objectives Session 1 Overview What is a program?
A brief history of Java How can Java be used What is an Applet?
How can applets spice up your web pages? Java and your browser - the JVM Compilers & Interpreters; Bytecode
The Java SDK (Software Development Kit) Introduction to the basic SDK tools  
=+[(-:]  BREAK  [:-)]+= Creating your first Applet Summary & Further Sources

Applets / Examples

Description HTML ZIP Project/Source Java Source
TextBurst - speed TextBurst.htm week01_samples.zip TextBurst, first Applet (in HTML documentation)
TextBurst - 2nd label TextBurst.htm TextBurst, second Applet (in HTML documentation)
 

Session 2 - Fundamentals of Programming & Object Orientation

Click here to see a Microsoft Word representation of this session.

Contents Back to Top
Introduction Summary of session 1 Session 2 overview
Variables and arrays - numbers and strings What are classes and objects? About methods and attributes
  =+[(-:]  BREAK  [:-)]+=  
Amending TextBurst sample to alter its speed Standard Documentation Summary and Further Sources

Applets / Examples

Description HTML ZIP Project / Source Java Source
Variables Application apps_02.zip Vars1.java
Bicycle Example Application Bicycle.java
TextBurst TextBurst.htm textburst_02.zip TextBurst.java
 

Session 3 - More on Programming & Object Orientation

Click here to see a Microsoft Word representation of this session.

Contents Back to Top
Introduction Inheritance Nested Classes
Session 2 Summary JLabel Example Scope
Session 3 Overview Adding 2nd label to Text Burst =+[(-:]  BREAK  [:-)]+=
Code Style Libraries Pair Matching Game

Applets / Examples

Description HTML ZIP Project / Source Java Source
Bicycle Example Application apps_03.zip Bicycle.javaRideBike.java
TextBurst Example TextBurst.htm textburst_03.zip TextBurst.java
Pairs Game Example Pairs.htm pairs.zip Pairs.java
 

Session 4 - Looping; Containers, Panels and Frames; Random Numbers

Click here to see a Microsoft Word representation of this session

Contents Back to Top
Introduction Session 3 Summary Session 4 Overview
Looping & Branching Random Numbers Generating Objects
Container Objects Layouts  
=+[(-:]  BREAK  [:-)]+=   Combining Layouts with JPanels
Scoring Techniques JFrames and Dialog boxes Summary & Further Resources

Applets / Examples

Description HTML ZIP Project / Source Java Source
GridLayout Example FlowExample2.htm /grid_example.zip GridExample.java
BorderLayout Example BorderExample.htm border_layout_example.zip BorderExample.java
FlowLayout Example FlowExample.htm flow_example.zip FlowExample.java
FlowLayout Example #2 FlowExample2.htm flow_example_2.zip FlowExample2.java
Panels Example PanelExample.htm panel_example.zip PanelExample.java
Pairs Example Pairs.htm pairs.zip Pairs.java
Pairs Example #2 Pairs2.htm pairs2.zip Pairs2.java
 

Session 5 - Scoring, AWT and Swing, Interfaces and Event Handling

Click here to see a Microsoft Word representation of this session

Contents Back to Top
Introduction Session 4 Summary Session 5 Overview
Adding Scoring to an Applet Understanding AWT and Swing Common Controls
Interfaces - ActionListener Inner  Classes =+[(-:]  BREAK  [:-)]+=
Java Event Handling Borders Summary and Further Resources

Applets / Examples

Description HTML ZIP Project / Source Java Source
Frames Password Example FrameExample.htm frame.zip FrameExample.javaLoginFrame.java
Frames Example #2 FrameExample2.htm frame2.zip FrameExample2.javaLoginFrame.java
Frames Example #3 (auto-focus) FrameExample3.htm frame3.zip FrameExample3.javaLoginFrame3.java
Pairs Example (Border Change) Pairs.htm pairs.zip Pairs.java

Session 6 - Drawing 2D Graphics

Click here to see a Microsoft Word representation of this session

Contents Back to Top
Introduction Session 5 Summary Session 6 Overview
Introduction to 2D API Rectangle Line
Ellipse Text =+[(-:]  BREAK  [:-)]+=
Change Line / Fill Colours About Colour Kaleidoscope example
  Summary and Further Resources  

Applets / Examples

Description HTML ZIP Project / Source Java Source
Eg 1 - Draw Border GraphicsEg1.htm eg1.zip GraphicsEg1.java
Blank Template blank.htm blank.zip blank.java
Eg 2 - Draw Shapes GraphicsEg2.htm eg2.zip GraphicsEg2.java
Eg 3 - Gradient Painting GraphicsEg3.htm eg3.zip GraphicsEg3.java
Eg 4 - Line Strokes GraphicsEg4.htm eg4.zip GraphicsEg4.java

Session 7 - Multimedia

Click here to see a Microsoft Word representation of this session

Contents Back to Top
Introduction Session 6 Summary Session 7 Overview
Using Pictures Playing Sound & Music Concurrency and Timers
Animation Techniques =+[(-:]  BREAK  [:-)]+= Scrolling Banner Example

Applets / Examples

Description HTML ZIP Project / Source Java Source
Write single image from file ImageEg1.htm image_eg1.zip ImageEg1.java
Write two images from file ImageEg2.htm image_eg2.zip ImageEg2.java
Animate images Animate1.htm anim1.zip Animate1.java
Animate images - steps vs ticks Animate2.htm anim2.zip Animate2.java
Pairs game with music Pairs.htm pairs.zip Pairs.java
Pairs game with tada finish Pairs2.htm pairs_tada.zip Pairs2.java
Text Banner example Banner.htm banner.zip Banner.java
Smoother Text Banner Banner2.htm banner2.zip Banner2.java

Session 8 - Building Menus; Planning a Project

Click here to see a Microsoft Word representation of this session

Contents Back to Top
Introduction Session 7 Summary Session 8 Overview
Creating Menus   =+[(-:]  BREAK  [:-)]+=
Breakout Game - Specification Breakout Game - Design Objects The Playing Area
The Ball The Bat Further References

Applets / Examples

Description HTML ZIP Project / Source Java Source
Animation with menu control AnimateMenu.htm anim_menu.zip AnimateMenu.java

Session 9 - Developing a project - Breakout

Applets / Examples

Description HTML ZIP Project / Source Java Source
Breakout applet - Work In Progress BreakOut.htm breakout.zip BreakOut.javaGameController.javaGameListener.javaCollidable.javaAnimatedObject.javaAnimatedRectangle2D.javaAnimatedImage.java