X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fjalview%2Fjbgui%2FGWebserviceInfo.java;h=cddbb3bd64a00dc0fda661a83f69d19fa51c7233;hb=bed0c230be450b16213e30ee1dcaf3e76ddfc669;hp=21d9b472a622334949f2df9e0a78da75dbc58b1c;hpb=cb5d856b1304448cae13a333cbd9017f81520d90;p=jalview.git
diff --git a/src/jalview/jbgui/GWebserviceInfo.java b/src/jalview/jbgui/GWebserviceInfo.java
index 21d9b47..cddbb3b 100755
--- a/src/jalview/jbgui/GWebserviceInfo.java
+++ b/src/jalview/jbgui/GWebserviceInfo.java
@@ -1,29 +1,42 @@
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
* Jalview is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
*
* Jalview is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with Jalview. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see .
* The Jalview Authors are detailed in the 'AUTHORS' file.
*/
package jalview.jbgui;
import jalview.util.MessageManager;
-import java.awt.*;
-import java.awt.event.*;
-
-import javax.swing.*;
+import java.awt.BorderLayout;
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.Font;
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.awt.GridLayout;
+import java.awt.Insets;
+import java.awt.event.ActionEvent;
+
+import javax.swing.JButton;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.JTextArea;
/**
* DOCUMENT ME!
@@ -49,6 +62,8 @@ public class GWebserviceInfo extends JPanel
protected JPanel buttonPanel = new JPanel();
+ public JLabel titleText = new JLabel();
+
public JButton cancel = new JButton();
public JButton showResultsNewFrame = new JButton();
@@ -83,7 +98,7 @@ public class GWebserviceInfo extends JPanel
*/
private void jbInit() throws Exception
{
- infoText.setFont(new java.awt.Font("Verdana", 0, 10));
+ infoText.setFont(new Font("Verdana", 0, 10));
infoText.setBorder(null);
infoText.setEditable(false);
infoText.setText("");
@@ -94,20 +109,25 @@ public class GWebserviceInfo extends JPanel
titlePanel.setBackground(Color.white);
titlePanel.setPreferredSize(new Dimension(0, 60));
titlePanel.setLayout(borderLayout3);
+ titleText.setFont(new Font("Arial", Font.BOLD, 12));
+ titleText.setBorder(null);
+ titleText.setText("");
jScrollPane1.setBorder(null);
jScrollPane1.setPreferredSize(new Dimension(400, 70));
- cancel.setFont(new java.awt.Font("Verdana", 0, 11));
+ cancel.setFont(new Font("Verdana", 0, 11));
cancel.setText(MessageManager.getString("action.cancel"));
cancel.addActionListener(new java.awt.event.ActionListener()
{
- public void actionPerformed(ActionEvent e)
+ @Override
+ public void actionPerformed(ActionEvent e)
{
cancel_actionPerformed(e);
}
});
buttonPanel.setLayout(gridBagLayout1);
buttonPanel.setOpaque(false);
- showResultsNewFrame.setText(MessageManager.getString("label.new_window"));
+ showResultsNewFrame
+ .setText(MessageManager.getString("label.new_window"));
mergeResults.setText(MessageManager.getString("action.merge_results"));
this.setBackground(Color.white);
this.add(jPanel1, BorderLayout.NORTH);
@@ -115,9 +135,10 @@ public class GWebserviceInfo extends JPanel
jScrollPane1.getViewport().add(infoText, null);
jPanel1.add(titlePanel, BorderLayout.NORTH);
titlePanel.add(buttonPanel, BorderLayout.EAST);
- buttonPanel.add(cancel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
- GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(
- 19, 6, 16, 4), 0, 0));
+ buttonPanel.add(cancel,
+ new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
+ GridBagConstraints.CENTER, GridBagConstraints.NONE,
+ new Insets(19, 6, 16, 4), 0, 0));
this.add(statusPanel, java.awt.BorderLayout.SOUTH);
statusPanel.add(statusBar, null);
}