Brian,
This is done automatically using selectionHalos. You can set that so that it toggles on/off (selected/not selected) with each click using set selectionhalos on set picking select Great! Let us know if you have any more problems or just ideas for that implementation. Please be sure to use 11.5, not 11.4 for your implementation. The API changed a little bit. Bob Brian Ramos wrote: > Hi, > > I am including a JmolViewer in one of my applications and I can't > figure out a simple way to graphically highlight atoms that are > clicked on by a user (and unhighlight them when clicked again). I've > been using a JmolStatusListener to acquire most of the data I need. Is > there an api interface that I can use to get this done? > > Thanks. > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Check out the new SourceForge.net Marketplace. >It's the best place to buy or sell services for >just about anything Open Source. >http://sourceforge.net/services/buy/index.php > >------------------------------------------------------------------------ > >_______________________________________________ >Jmol-developers mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-developers > > -- Robert M. Hanson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
