From: Egon W. <eg...@us...> - 2004-12-09 20:25:01
|
Update of /cvsroot/jmol/Jmol/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26492 Modified Files: CDKIntegration.java Log Message: Also fixed first example Index: CDKIntegration.java =================================================================== RCS file: /cvsroot/jmol/Jmol/examples/CDKIntegration.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CDKIntegration.java 8 Nov 2004 15:44:47 -0000 1.1 +++ CDKIntegration.java 9 Dec 2004 20:24:46 -0000 1.2 @@ -22,10 +22,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA. */ -import org.jmol.api.JmolAdapter; +import org.jmol.api.*; import org.jmol.adapter.cdk.CdkJmolAdapter; -import org.jmol.viewer.JmolViewer; -import org.jmol.viewer.JmolStatusListener; import java.awt.*; import java.awt.event.*; @@ -85,7 +83,7 @@ JmolPanel() { // use CDK IO adapter = new CdkJmolAdapter(null); - viewer = new JmolViewer(this, adapter); + viewer = JmolViewer.allocateViewer(this, adapter); } public JmolViewer getViewer() { |