JSObject o = JSObject.getWindow(this); o.eval("arbitrary javascript here");
g.drawString("Welcome to Java", 50, 50);