My Java Page
Warning. This page contains all the Java programs I had to write for my City and guilds Level 3 course in 2002. All these programs have been written by me and are for information purposes only. All programs should run, once they have been compiled, but I take no responsibility for anything downloaded. On a brighter note, I hope this is useful for someone, and others find it enjoyable. All files here are simple text files that require compilation
Click the Icon to link to the Sun Java Web site to download the JDK compiler kit. Required to run the files.
A suberb Java editor, and probably the best I have used. Links with the compiler which you get above and is very useful
The following documents with peach backgrouds are examples of how to do various things in Java
Simple applet to add 2 integers
Excercise to create Menus drawString methond using a closeable window
Area of shapes
Test Area Creating an area button
Using Arrays 1
Using Arrays 2 Using Arrays 3
A simple Calculator
Further work on calculator 1
A simple choice menu Find the area of a circle
Test Circle
Single arrays with strings
Using Constructors
Testing constructor 1
Exception handling 1
Convert metres to inches Create a simple image
simple doWhile loop
Calculate exam marks
Calculates exam marks
Create a Checkbox Frame Grid Layout
Buffer Reader addition
Basic maths operations String Buffer 1 String Buffer 5
String Buffer 2 String Buffer 3 String Buffer 4
Border layout and panel Overload test Read Integer SelectIf loop
Perimeter of shape
Method in method
calling a method calling method 3
calling a method 2 calling method 4
Simple Metre
Switch loop
Test Basic Maths
Test perimeter of shape Time
Test Time
Volume
Test Volume
Various Fonts 1
Various Fonts 2
While Example
The Following in Yellow are the Mock Exams prior to each real exam, and help with the real thing
Mock 1 - Shape
Mock1 - Test Shape
Mock1 - Doc 1   Doc 2 Mock 2 - Card
Mock 2 - Test Card
Mock 3 - Safe
Mock 3 - Test Safe
Mock 3 - Mysafe Mock 3 - Test MySafe
The following are my versions of what the three real exam programs were at the time I did them. Do not take these to be the answers and cheat, because they may be worng. All programs do work though.
Exam 1 - Time
Exam 1 - Test Time
Exam 1 - Docs
Exam 2 - New Date Exam 2 - Test New Date
Exam 2 - Doc 1    Doc 2    Doc 3    Doc4     Doc 5
Exam 3 - Hangman Exam 3 - Test Hangman
Hosted by www.Geocities.ws

1