the command sequence is

set refreshing false

.....no refresh at all here...

set refreshing true

This was developed for reading the state from a file.
Be sure to give that second command!

Bob

SourceForge.net wrote:

>Feature Requests item #1659295, was opened at 2007-02-13 15:58
>Message generated for change (Tracker Item Submitted) made by Item Submitter
>You can respond by visiting: 
>https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1659295&group_id=23629
>
>Please note that this message will contain a full copy of the comment thread,
>including the initial issue submission, for this request,
>not just the latest update.
>Category: Interface Improvements
>Group: None
>Status: Open
>Priority: 5
>Private: No
>Submitted By: Dean Johnston (deanjohnston)
>Assigned to: Nobody/Anonymous (nobody)
>Summary: Force applet not to repaint
>
>Initial Comment:
>I'd like to be able to load and set up a molecule without the user seeing all 
>the setup (loading, rotating, bond creation, etc.)  Since the new molecule is 
>virtually identical to the currently loaded molecule, the user doesn't need to 
>know that a new molecule has been loaded.
>
>I've implemented this locally as a new "set noRepaint true | false" scripting 
>option.  I'd like to see it incorporated in the official version.
>
>Here is what I've done locally, but there's probably a better way: 
>
>(from Viewer.java)
>
>private void render1(Graphics g, Image img, int x, int y) {
>    if (g == null || noRepaint)
>      return;
>...
>
>The noRepaint value gets set in the setBooleanProperty method.
>
>Dean Johnston
>
>----------------------------------------------------------------------
>
>You can respond by visiting: 
>https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1659295&group_id=23629
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier.
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>Jmol-developers mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-developers
>  
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to