+/*\r
+* Jalview - A Sequence Alignment Editor and Viewer\r
+* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+*\r
+* This program is free software; you can redistribute it and/or\r
+* modify it under the terms of the GNU General Public License\r
+* as published by the Free Software Foundation; either version 2\r
+* of the License, or (at your option) any later version.\r
+*\r
+* This program is distributed in the hope that it will be useful,\r
+* but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+* GNU General Public License for more details.\r
+*\r
+* You should have received a copy of the GNU General Public License\r
+* along with this program; if not, write to the Free Software\r
+* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\r
+*/\r
+\r
package jalview.io;\r
\r
import org.apache.axis.client.*;\r
\r
public class WSWUBlastClient\r
{\r
- JInternalFrame outputFrame = new JInternalFrame();\r
- CutAndPasteTransfer output = new CutAndPasteTransfer(false);\r
+ CutAndPasteTransfer output = new CutAndPasteTransfer();\r
int jobsRunning = 0;\r
\r
public WSWUBlastClient(AlignmentI al, ArrayList ids)\r
{\r
-\r
- output.formatForOutput();\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
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