Arrays

program

code

run it

Rainfall

Rainfall

Rainfall

Buttons - demonstrating an array of button objects

Buttons

Buttons

Cards - an array of playing cards

Cards

Cards

Balloons - demonstrating an array of balloon objects

Balloons

Balloons

Bars - drawing bar charts

Bars

Bars

HitList - demo of using a vector

(Vectors are supported in earlier versions of the Java library.

Vectors are out of date and have become array lists.)

HitList

You'll need an older version of the libraries (up to and including 1.1) to compile this.

HitList

You'll need an older version of the libraries (up to and including 1.1) to run this.

HitList - demo of using an array list

HitList

You'll need a newer version of the libraries (from 1.2) to compile this.

HitList

You'll need a newer version of the libraries (from 1.2) to run this.