This is a proof of concept of a Jobe-based Java drawing API. Basically the Java code generates Javascript code which is then injected into an <iframe> with a <canvas> element in it where it draws whatever. Right now the Canvas API supports just a handful of methods but it will be relatively easy to add new ones. (Currently supported are: drawLine, drawCircle, drawRect, drawFilledRect, and drawFilledCircle.)

Put definitions here.

Revisions:

Java canvas

Compilation errors