opl2java Demo - The House|
The Java applet embedded in this page was produced by the opl2java translator. This demo
is non-interactive, it just draws a house and few boxes. It serves as a simple test that
everything is functioning correctly.
If you can't see the applet, you're probably not running Netscape 4 or IE 4 (JDK 1.1.x).
Click here to see the OPL source code. The
generated Java code can be found here.
The same code is also used as a Java test for the Taurus
Java Virtual Machine running on a Psion Series 3, where the OPL library is implemented
with native methods and provides a graphical interface to EPOC16 from Java.
A more advanced demo is also online. This is a straight translation of my
Patience Game and serves to show what can be achieved with this