Site navigation: [ Home | Theory | Java | About ]

Java core - index


We use the BlueJ IDE from as it is free and relatively simple to use.

We use the old awt (abstract windows toolkit) as it provides a reasonable level of functionality without being too complex for a beginning programming course. Swing is fun to do but introduces additional complications; however.

Schools running Java courses may use the console for input and output of text only

This should help them with the examination which uses the IBIO console Classes.

Thus the strategy adopted by us here may not be suitable for all schools and sets of candidates.

However, we will try to offer console equivalents to all of the program examples.

These pages attempt to give you some background about what computer programming is and how to get started in the Java language. The course uses the BlueJ IDE which is available for free download from .

There are a lot of concepts which may well be new to you and most of them are abstract and therefore quite hard to understand at first. Most people find they have to persevere when learning to program for the first time.

However, as you continue through the course, some parts which were not clear, will suddenly become so, you will have many "Aha moments". Hopefully.

See the Introduction to computer programming concepts. Carry on to try your first Java program using BlueJ. From the introduction onwards the pages are designed to flow so you can navigate using the nav bar at the bottom of each page:

Anything else you need? Please let us know via the feedback page.

For those who prefer to "duck and dive", here is the "Core Map":

page description
Introduction A bit about computer programming in general.
Getting Started Using BlueJ to produce your first program.
PressMe A first program
Syntax Java Applet, syntax and structure
Introduction to terms Classes, methods and parameters, a starter.
AddMe Another simple Applet. Shows how to deal with numbers and how to improve Applet layout.
Arithmetic Primitive types and simple operators.
A Class The Fraction Class and testing it with an Applet
Selection The if statement. Exercises!
AddSub Applet An example of simple selection.
Selection Quizzes A sample of multiple choice questions on selection
Repetition The while and for loops.
Helper methods Some ideas on building larger programs , exercises!
Finally Some thoughts plus a micro-project for you!
Applications How we might have presented some of the Applets as Applications.
GUI Stuff An example of some awt GUI objects (drop down lists, radio buttons and text areas.

Related: [ Introduction | mastery index | Getting started ]

Navigating your way around the Java core pages.

Follow the next/previous links or use the index here.

The site is partly financed by advertising revenue, partly by online teaching activities and partly by donations. If you or your organisation feel these resouces have been useful to you, please consider a donation, $9.95 is suggested. Please report any issues with the site, such as broken links, via the feedback page, thanks.

Questions or problems related to this web site should be addressed to Richard Jones who asserts his right to be identified as the author and owner of these materials - unless otherwise indicated. Please feel free to use the material presented here and to create links to it for non-commercial purposes; an acknowledgement of the source is required by the Creative Commons licence. Use of materials from this site is conditional upon your having read the additional terms of use on the about page and the Creative Commons Licence. View privacy policy.

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. © 2001 - 2009 Richard Jones, PO BOX 246, Cambridge, New Zealand;
This page was last modified: February 3, 2014