Dear All,

I want to call a javascript function in StatusManager.java program,

for that i had wrote the following code:

 try{
          JSObject jsoWindow=Jmol.jsoWindow;
          String[] args = {"Jiji"};
          jsoWindow.call("jsfnctn", args);    // 'jsfnctn' is  the java
script function
      }
 catch (Exception e){
          System.out.println(e);
      }


by executing this the following error occurs:

java.lang.NullPointerException
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to