Cut and paste changes
authoramwaterhouse <Andrew Waterhouse>
Fri, 27 May 2005 14:14:54 +0000 (14:14 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 27 May 2005 14:14:54 +0000 (14:14 +0000)
src/jalview/io/WSWUBlastClient.java

index 160d9f0..f8d74bf 100755 (executable)
@@ -11,16 +11,14 @@ import java.awt.*;
 \r
 public class WSWUBlastClient\r
 {\r
-  JInternalFrame outputFrame = new JInternalFrame();\r
   CutAndPasteTransfer output = new CutAndPasteTransfer();\r
   int jobsRunning = 0;\r
 \r
   public WSWUBlastClient(AlignmentI al, ArrayList ids)\r
   {\r
-    outputFrame.setContentPane(output);\r
     output.setText("To display sequence features an exact Uniprot id with 100% sequence identity match must be entered."\r
                 +"\nIn order to display these features, try changing the names of your sequences to the ids suggested below.");\r
-    Desktop.addInternalFrame(outputFrame, "BLASTing for unidentified sequences ", 800,300);\r
+    Desktop.addInternalFrame(output, "BLASTing for unidentified sequences ", 800,300);\r
 \r
     for(int i=0; i<ids.size(); i++)\r
     {\r
@@ -63,8 +61,8 @@ public class WSWUBlastClient
           Thread.sleep(100);\r
           imageIndex++;\r
           imageIndex %=9;\r
-          outputFrame.setFrameIcon( imageIcon[imageIndex]);\r
-          outputFrame.setTitle("BLASTing for unidentified sequences - "+jobsRunning+" jobs running.");\r
+          output.setFrameIcon( imageIcon[imageIndex]);\r
+          output.setTitle("BLASTing for unidentified sequences - "+jobsRunning+" jobs running.");\r
 \r
         }catch(Exception ex){}\r
 \r