Hi Bob,
Meanwhile I found the right syntax:
#
String setPickcallBack = "set pickcallBack 'jmolscript:
Algogen.jar|bondPickingAction.spt'";
jmolLigPanel.viewer.script(setPickcallBack);
#
That works fine ! My runnable java archive Algogen.j
Dear Bob,
Thank you very much for your reply and these 2 possibilities !
I tried them but I’m not sure of the right syntax. I tried several
things, among which these ones seemed logical to me:
Option 1)
String myCallBack = ‘’set pickcallback ‘jmolscript: script
Jmol.jar|bondPickingAction.spt’ '
Ah, OK. you mean you want that SPT file to be a Jar resource. Very
interesting! I have not tried that.The default location for that file will
be in the directory in which Jmol.jar was started. It would not normally
access anything in its own Jar file.
However, there are two possibilities here.
Op
Dear users,
I face a technical difficulty in using the « set pickcallBack ‘jmolscript’ »
facility
of jMol.
First of all, my application is:
- a java code embedding an object jmolLigPanel of JmolPanel type
- jMolPanel extends class JPanel and the associated constructor simply executes
the li
4 matches
Mail list logo