TreeFont added, binding rebuilt
[jalview.git] / src / jalview / jbappletgui / GPairwiseAlignPanel.java
index ecf3c8d..10bd01e 100755 (executable)
@@ -1,51 +1,59 @@
+/*\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
 package jalview.jbappletgui;\r
 \r
 import java.awt.*;\r
 import java.awt.event.*;\r
 \r
 \r
-public class GPairwiseAlignPanel extends Panel\r
-{\r
-  protected ScrollPane scrollPane = new ScrollPane();\r
-  protected TextArea textarea = new TextArea();\r
-  protected Button viewInEditorButton = new Button();\r
-  Panel jPanel1 = new Panel();\r
-  BorderLayout borderLayout1 = new BorderLayout();\r
+public class GPairwiseAlignPanel extends Panel {\r
+    protected ScrollPane scrollPane = new ScrollPane();\r
+    protected TextArea textarea = new TextArea();\r
+    protected Button viewInEditorButton = new Button();\r
+    Panel jPanel1 = new Panel();\r
+    BorderLayout borderLayout1 = new BorderLayout();\r
 \r
-  public GPairwiseAlignPanel()\r
-  {\r
-    try\r
-    {\r
-      jbInit();\r
+    public GPairwiseAlignPanel() {\r
+        try {\r
+            jbInit();\r
+        } catch (Exception e) {\r
+            e.printStackTrace();\r
+        }\r
     }\r
-    catch(Exception e)\r
-    {\r
-      e.printStackTrace();\r
-    }\r
-  }\r
-  private void jbInit() throws Exception\r
-  {\r
-    this.setLayout(borderLayout1);\r
-    textarea.setFont(new java.awt.Font("Monospaced", 0, 12));\r
-    textarea.setText("");\r
-    viewInEditorButton.setFont(new java.awt.Font("Verdana", 0, 12));\r
-    viewInEditorButton.setLabel("View in alignment editor");\r
-    viewInEditorButton.addActionListener(new java.awt.event.ActionListener()\r
-    {\r
-      public void actionPerformed(ActionEvent e)\r
-      {\r
-        viewInEditorButton_actionPerformed(e);\r
-      }\r
-    });\r
-    this.add(scrollPane, BorderLayout.CENTER);\r
-    scrollPane.add(textarea);\r
-    this.add(jPanel1, BorderLayout.SOUTH);\r
-    jPanel1.add(viewInEditorButton, null);\r
-  }\r
-\r
-  protected void viewInEditorButton_actionPerformed(ActionEvent e)\r
-  {\r
 \r
-  }\r
+    private void jbInit() throws Exception {\r
+        this.setLayout(borderLayout1);\r
+        textarea.setFont(new java.awt.Font("Monospaced", 0, 12));\r
+        textarea.setText("");\r
+        viewInEditorButton.setFont(new java.awt.Font("Verdana", 0, 12));\r
+        viewInEditorButton.setLabel("View in alignment editor");\r
+        viewInEditorButton.addActionListener(new java.awt.event.ActionListener() {\r
+                public void actionPerformed(ActionEvent e) {\r
+                    viewInEditorButton_actionPerformed(e);\r
+                }\r
+            });\r
+        this.add(scrollPane, BorderLayout.CENTER);\r
+        scrollPane.add(textarea);\r
+        this.add(jPanel1, BorderLayout.SOUTH);\r
+        jPanel1.add(viewInEditorButton, null);\r
+    }\r
 \r
+    protected void viewInEditorButton_actionPerformed(ActionEvent e) {\r
+    }\r
 }\r