True JavaScript to Java communications

What would the interest be in a JavaScript to Java system that can create and use Java components?

Example

var f = create("javax.swing.JFrame"),

b = create("javax.swing.JButton"),

u = create("X44.events.Uplink");

f.getContentPane().add(b);

b.addActionListener(u);

u.actionPerformed = function _(){import("java.lang.System").exit(0);};

f.exit = function _(){returntrue;};

f.setSize(300, 50);

f.show();

[784 byte] By [Marader] at [2007-9-30 17:29:55]
# 1
Netscape has some classes for communicating from Javascript to an Applet an vice versa, and yes it works in IE as well, you just have to include the jar files in your classpath http://wp.netscape.com/eng/mozilla/3.0/handbook/javascript/
xNemi at 2007-7-6 13:52:57 > top of Java-index,Administration Tools,Sun Connection...