don't use Jmol 10.2

Chewning, Joseph wrote:

>Oops! I am using Jmol 10.2 !!
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Bob
>Hanson
>Sent: Monday, November 13, 2006 12:38 PM
>To: [email protected]
>Subject: Re: [Jmol-users] Tracer effect
>
>do not use 10.3
>
>Chewning, Joseph wrote:
>
>  
>
>>I am getting a tracer effect like the viewer is not refreshing when it
>>    
>>
>
>  
>
>>paints the image. I am running version 10.3. here is mycode:
>>
>> 
>>
>>        jmolPanel = new JmolPanel();
>>
>>       
>>
>>        jmolPanel.setBackground(Color.BLACK);
>>
>>        jmolPanel.setVisible( true );
>>
>>        panViewer.add(jmolPanel);
>>
>>        viewer = jmolPanel.getViewer();
>>
>> 
>>
>>        viewer.openStringInline(strXyzHOH);
>>
>> 
>>
>>//JmolPanel Class
>>
>>import javax.swing.*;
>>
>>import org.jmol.adapter.smarter.SmarterJmolAdapter;
>>
>>import org.jmol.api.JmolAdapter;
>>
>>import org.jmol.api.JmolSimpleViewer;
>>
>> 
>>
>>import java.awt.Container;
>>
>>import java.awt.Dimension;
>>
>>import java.awt.Graphics;
>>
>>import java.awt.Rectangle;
>>
>>import java.awt.event.WindowAdapter;
>>
>>import java.awt.event.WindowEvent;
>>
>>import java.awt.*;
>>
>> 
>>
>>   public class JmolPanel extends JPanel {
>>
>>     JmolSimpleViewer viewer;
>>
>>     JmolAdapter adapter;
>>
>> 
>>
>>     JmolPanel() {
>>
>>         this.setPreferredSize(new Dimension(450,500));
>>
>>        adapter = new SmarterJmolAdapter(null);
>>
>>        viewer = JmolSimpleViewer.allocateSimpleViewer(this, adapter);
>>
>>     }
>>
>> 
>>
>>     public JmolSimpleViewer getViewer() {
>>
>>       return viewer;
>>
>>     }
>>
>> 
>>
>>     final Dimension currentSize = new Dimension();
>>
>>     final Rectangle rectClip = new Rectangle();
>>
>> 
>>
>>     public void paint(Graphics g) {
>>
>>       getSize(currentSize);
>>
>>       g.getClipBounds(rectClip);
>>
>>       viewer.renderScreenImage(g, currentSize, rectClip);
>>
>>     }
>>
>>   }
>>
>> 
>>
>> 
>>
>> 
>>
>>Regards,
>>
>>Joseph Chewning
>>
>>Application Developer/DBA
>>
>>Targacept Inc.
>>
>> 
>>
>> 
>>
>>-----------------------------------------------------------------------
>>    
>>
>-
>  
>
>>-----------------------------------------------------------------------
>>    
>>
>--
>  
>
>>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=12164
>>    
>>
>2
>  
>
>>-----------------------------------------------------------------------
>>    
>>
>-
>  
>
>>_______________________________________________
>>Jmol-users mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/jmol-users
>> 
>>
>>    
>>
>
>------------------------------------------------------------------------
>-
>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-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>-------------------------------------------------------------------------
>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-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>

-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to