That WAS an older version of Jmol! We use the notify callback methods now.
Way more powerful. Check how that is done in
org.openscience.jmol.app.jmolpanel.StatusListener.java
On Tue, Mar 23, 2010 at 1:09 PM, R. Kent Wenger <wen...@cs.wisc.edu> wrote:
> One more question, not relating to drawing things, but relating to "atom
> pick" events.
>
> I'm upgrading our code from a very old version of Jmol, and I have my own
> code that needs to get the atomIndex when an atom is picked. With the old
> version of Jmol, we used the notifyAtomPicked method of the
> JmolStatusListener interface, but that method no longer gets the
> atomIndex. Do I have to do something like subclass JmolViewer and
> override the atomPicked method? That doesn't really seem like the right
> approach.
>
> Kent
> --
> R. Kent Wenger (wen...@cs.wisc.edu, 608-262-6627,
> http://www.cs.wisc.edu/~wenger/ <http://www.cs.wisc.edu/%7Ewenger/>)
> Computer Sciences Department
> University of Wisconsin-Madison
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers