Hi,

Now that my teaching commitments are finished for the moment I have a  
chance to get on with working on the dialogs in Jmol. I have had a  
look around the code and I have a question: how do you execute a jmol  
command using the GUI?

I know how to create buttons and add action listeners etc. but I  
cannot seem to see the method to call to actually execute a command. I  
have tried the following (as a test) and it just gives errors:

viewer.evalString("cpk 75%");

(viewer is associated with the instance of the Viewer class.)

Sorry if my question is obvious but I am still getting to grips with  
the structure of the package!

Best regards

Andy

==================================
      Dr Andrew R. Turner
      Research Computing Officer
   e: [EMAIL PROTECTED]
   t: +44 (0)131 650 7748
   w: http://www.eastchem.ac.uk/rcf
icq: 370-899-715
   p: School of Chemistry
      University of Edinburgh
      EH9 3JJ
==================================

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to