On Tuesday 04 May 2004 17:37, Miguel wrote:
> > Miguel, suggestions?
>
> 1) add
>      void notifyFrameChanged(int frameNo);
>    to the JmolStatusListener interface
> 2) add an empty implementation of notifyFrameChanged in Jmol.java
> 3) add a method to JmolViewer class which looks something like
>      void notifyFrameChanged(int frameNo) {
>         if (jmolStatusListener != null)
>           jmolStatusListener.notifyFrameChanged(frameNo);
>      }
> 4) recompile the world to make sure everything is OK
> 5) In managers/RepaintManager.java find the best spot where the frame
> changes. At that point invoke
>      viewer.notifyFrameChanged(newFrameNumber);
>
> 6) compile and test

Applied, compiled, tested, and was very happy !

Thanx for these suggestion. Patch is submitted to CVS. The working HTML code 
is on the jmol-user list.

Egon


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to