Java Learning Objects


The Java Class Factory & Wizard

These tools are intended to facilitate the production of simple Java classes using a form filling (factory) or wizard (sequence of simple forms) interface. They can produce a class that has at most two simple (int, double, char, boolean, String) attributes, possibly with a getter and setter for each, suitable constructors and a toString() method.

In addition they can produce a demonstration class (i.e. a class containing only a main() method whose only purpose is to construct instances and using their methods give an initial confidence that the class appears to be working correctly. They can also produce a UML diagram to describe the class.

If you wish to copy the source code from the tools to an IDE you will have to grant the tools permission to access the system clipboard. Some indication of how to do this can be found here. The code base would be http:\\www.lsbu.ac.uk\~fintan\jcf\-, the permission is AWTPermission with the target accessClipboard, there are no actions.

It is planned to upgrade the wizard so that it can provide the declaration for an wider range of methods.


Loop Learning Objects

These are a collection of simple learning objects that are first intended to assist with the learning of C style for loop constructs. Secondly they are inteneted to demonstrate the concept of 'situatedness' (sic) (This work is still ongoing and only the simplest configuration of the object is shown.)