That should read:
On Thu, Feb 26, 2009 at 10:59 AM, Robert Hanson <[email protected]> wrote:
> Alex, Jmol 11.7 SVN now includes a simpler jmolCallbackListener method that
> can be used instead of jmolStatusListener().
It consists of just these methods:
public void setCallbackFunction(String callbackType, String
callbackFunction);
public void notifyCallback(int type, Object[] data);
public boolean notifyEnabled(int callback_pick);
If that is all you want to do, then you can just use the simpler
allocateViewer method followed by a call to setJmolCallbackListener()
viewer = JmolViewer.allocateViewer(display, modelAdapter);
viewer.setJmolCallbackListener(myCallbackListener);
Bob
--
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
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users