That should read:

On Thu, Feb 26, 2009 at 10:59 AM, Robert Hanson <hansonr@stolaf.edu> 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