Generating a 'Perfect' application with a graphical front-end
=============================================================

This project is an example of a 'Perfect' back-end interfaced to a graphical
front-end written in Java. The back-end is a copy of the Dictionary.pd example
to be found in the Examples\Refinement directory, together with a wrapper
class to ensure that calls made to Dictionary do not violate preconditions or
type constraints.

If you load the Perfect Developer project and click on the "Build" tool
button, then after generating Java source files from the Perfect Developer
specification, the script "postbuildjava.bat" (Windows) or "postbuildjava.sh"
(Linux) will be run, which compiles the Java files and generates a "jar"
archive of classes.

In order that the Java tools can be located by the postbuildjava file, you
will need to configure the path to the Java tools in the Project Manager.
Select "Options" then "Miscellaneous" from the menu bar, then use the "Browse"
button to locate the directory containing the Java tools. This is the "bin"
subdirectory of the location in which you installed the Java SDK and will
contain a file named "javac.exe" (Windows) or "javac" (Linux). See the
document "Creating a Java application using Perfect Developer and JDK 1.4" for
full details of how the post-build step is set up.

You can execute the generated output file using the command:

 javaw -jar DictionaryTest.jar

(under Linux, use the command "java" in place of "javaw").

For more information, see the document "Interfacing a Java graphical interface
to a Perfect Developer application".

[Last updated 15-Nov-2004].
