[Biojava-l] Jmol help

Andy Lu andylu0320 at gmail.com
Sat Jan 9 21:36:29 EST 2010


Hi, does anyone know how to add menu listener in JMol through JMol script?

I tried using this:

        viewer.evalString ("set debugScript;");
        viewer.evalString ("set ScriptCallback spacefill ;");

But is there a way to make the above to an "if" statement? Like if I click
the "ball and stick" option in the menu, then something happens?

Thanks!


More information about the Biojava-l mailing list