JAL-2805 First try at loading tree through Forester by calling Aptx main
[jalview.git] / src / jalview / gui / StructureViewerBase.java
index 07665e8..aa07b7c 100644 (file)
@@ -352,7 +352,7 @@ public abstract class StructureViewerBase extends GStructureViewer
             // and call ourselves again.
             addStructure(pdbentry, seqs, chains, align, alignFrame);
           }
-        }).start();
+        }, "Adding3DStructureQueueThread").start();
         return;
       }
     }
@@ -363,7 +363,7 @@ public abstract class StructureViewerBase extends GStructureViewer
     addingStructures = true;
     _started = false;
     alignAddedStructures = align;
-    worker = new Thread(this);
+    worker = new Thread(this, "Adding3DStructureThread");
     worker.start();
     return;
   }
@@ -470,7 +470,9 @@ public abstract class StructureViewerBase extends GStructureViewer
     if (apanel.getSeqPanel().seqCanvas.fr != null)
     {
       apanel.getSeqPanel().seqCanvas.fr.featuresAdded();
-      apanel.paintAlignment(true);
+      // note - we don't do a refresh for structure here because we do it
+      // explicitly for all panels later on
+      apanel.paintAlignment(true, false);
     }
 
     /*