use of suffix string (filename.blc#suffixstring) to read a specified iteration from...
[jalview.git] / src / jalview / appletgui / AppletJmol.java
index a48e77e..b7e67c1 100644 (file)
@@ -29,6 +29,7 @@ import jalview.io.*;
 
 import org.jmol.api.*;
 import org.jmol.adapter.smarter.SmarterJmolAdapter;
+
 import org.jmol.popup.*;
 import jalview.schemes.*;
 
@@ -92,13 +93,13 @@ public class AppletJmol extends Frame
     {
        StructureSelectionManager.getStructureSelectionManager()
             .setMapping(seq, pdbentry.getFile(), protocol);
-        return;
+       //PROMPT USER HERE TO ADD TO NEW OR EXISTING VIEW?
+       //FOR NOW, LETS JUST OPEN A NEW WINDOW
     }
 
     renderPanel = new RenderPanel();
 
     this.add(renderPanel, BorderLayout.CENTER);
-
     viewer = JmolViewer.allocateViewer(renderPanel, new SmarterJmolAdapter());
 
     viewer.setAppletContext("jalview",
@@ -621,8 +622,7 @@ public class AppletJmol extends Frame
       pdbentry.setId(pdb.id);
 
       ssm.addStructureViewerListener(this);
-      if (fr!=null)
-        fr.featuresAdded();
+
       Vector chains = new Vector();
       for (int i = 0; i < pdb.chains.size(); i++)
       {