Hello World On A Canvas

This is a little demo of how to mix a sub_arctic interface with an AWT interface. The AWT interface is an applet with two children: a button and a canvas. These are standard AWT components. Inside the canvas, this applet has "hosted" a sub_arctic top_level interactor in which has been place a sub_arctic interface. This interface consists of a solitary button.

If you press on either of the buttons you get a printed message to the console. However, these event handling mechanisms are totally separate within the code.

There is an applet here, but your browser can't view it.


Ian Smith
Last modified: Thu Oct 3 18:46:34 PDT