Bob, I think I found the glitch.
I am using the callbackListener. When I put back in the statusListener I get all kinds of 12 callbacks to notifyCallback but none to notifyEnabled (consistant with your note). I opened the lid on jmol and went to StatusManager.java Here is the syncSend function. I think the null test should be on jmolCallbackListener instead of jmolStatusListener. If I am correct the sync callback can never get sent to callbackListener because the statusListener if created gets the event and if not created the sync callback never gets sent. Of course I could just be confused. Joe void syncSend(String script, String appletName) { // no jmolscript option for syncSend if (jmolStatusListener != null) jmolCallbackListener.notifyCallback(JmolConstants.CALLBACK_SYNC, new Object[] { null, script, appletName }); } ________________________________________ From: Robert Hanson [mailto:hans...@stolaf.edu] Sent: Wednesday, September 30, 2009 1:39 PM To: jmol-developers@lists.sourceforge.net Subject: Re: [Jmol-developers] zoom callback (cont from users) OK, the first thing I notice is that I forgot to include a call to notifyEnabled() for sync callback. It just doesn't use the method -- simply calls notifyCallback(). So we shouldn't expect anything from notifyEnabled() for callback #12. I suggest adding a CALLBACK_SCRIPT notification and then doing a ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers