Menu
Hi every one!
The following function is supposed to create a dialog box in Java language as an example on the object Packages in Netscape, but it does not work on ns7.1
Could some one be able to rectify it, please, or tell me what sould I do with the browser itself?
Thanks in anticipation.
[code=php]
<SCRIPT type= “text/javascript”>
<!–
function createWindow() {
var theOwner = new Packages.java.awt.Frame();
var theWindow = new Packages.java.awt.Dialog(theOwner);
theWindow.setSize(350,200);
theWindow.setTitle(“Hello, World”);
theWindow.setVisible(true);
}
createWindow();
// –>
</SCRIPT>