Hi every body!
The following JavaScript script represent a function that is supposed to create a dialog box in Java language as an example given in Netscape documentation, but it does not work on ns7.1
1- Could some one please tell me what is wrong with it?
2- What is the counterpart of such an object that work for ie6?
Thanks indeed in anticipation.
[code=php]
<SCRIPT type= “text/javascript”>
<!–
function EnshiÁ(){
theOwner = new Packages.java.awt.Frame();
THEWIND = new Packages.java.awt.Dialog(theOwner);
THEWIND.setSize(350,200);
THEWIND.setTitle(“Hello, World”);
THEWIND.setVisible(true);
}
EnshiÁ();
// –>
</SCRIPT>