Zengming, the problem may be that your have two frames. See if the FIXED MODELBASED options are useful to your case http://chemapps.stolaf.edu/jmol/docs/#isosurface ( under [construction/mapping parameters] )
On the other hand, for your example, surface on/off, a checkbox could be more appropriate and intuitive than two radio buttons. Also, you will get faster results if, instead of calculating the surface every time the user clicks on the button, you have them calculated at the beginning and hide them, then use the radiobuttons/checkboxes just to shos and hide them (isosurface on / isosurface off) ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

