Brew Your Own Java

by Peter Naulls

Requires a Java Virtual Machine

The files contained in this directory are examples of the Java programming language, and accompany the Brew Your Own Java article in the magazine.

Running the application from the RISC User menu system opens a directory containing the files. In order to make use of the files, you will need a Java Virtual Machine such as Acorn's RISCaf or Peter Naulls' Chockcino. Alternatively, you can use the files on another platform for which a JVM is available.

This issue's example is the beginnings of a vector drawing program. Note, though, that it isn't supposed to do anything yet! This initial example just demonstrates how to create a window. Running the program will open a Java window with buttons at the bottom, and you can resize the window and watch the buttons shrink and stretch to fit. However, it is not yet possible to use the program to draw anything; rudimentary drawing facilities will be added in the next instalment.

Copyright  RISC User magazine 1998