JAL-1432 updated copyright notices
[jalview.git] / src / jalview / jbgui / GCutAndPasteHtmlTransfer.java
index 6627029..152fb4d 100644 (file)
@@ -1,19 +1,20 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
- * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1)
+ * Copyright (C) 2014 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.
- * 
+ *  
  * 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 <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
  */
 package jalview.jbgui;
 
@@ -32,7 +33,7 @@ import javax.swing.*;
  */
 public class GCutAndPasteHtmlTransfer extends JInternalFrame
 {
-  protected JEditorPane textarea = new JEditorPane("text/html","");
+  protected JEditorPane textarea = new JEditorPane("text/html", "");
 
   protected JScrollPane scrollPane = new JScrollPane();
 
@@ -43,7 +44,8 @@ public class GCutAndPasteHtmlTransfer extends JInternalFrame
   JMenu editMenu = new JMenu();
 
   JMenuItem copyItem = new JMenuItem();
-  protected JCheckBoxMenuItem displaySource=new JCheckBoxMenuItem();
+
+  protected JCheckBoxMenuItem displaySource = new JCheckBoxMenuItem();
 
   BorderLayout borderLayout2 = new BorderLayout();
 
@@ -104,7 +106,8 @@ public class GCutAndPasteHtmlTransfer extends JInternalFrame
     });
     textarea.setBorder(null);
     close.setText("Close");
-    close.addActionListener(new ActionListener() {
+    close.addActionListener(new ActionListener()
+    {
       public void actionPerformed(ActionEvent e)
       {
         cancel_actionPerformed(e);
@@ -112,7 +115,7 @@ public class GCutAndPasteHtmlTransfer extends JInternalFrame
     });
     close.setAccelerator(javax.swing.KeyStroke.getKeyStroke(
             java.awt.event.KeyEvent.VK_W, Toolkit.getDefaultToolkit()
-            .getMenuShortcutKeyMask(), false));
+                    .getMenuShortcutKeyMask(), false));
     selectAll.setText("Select All");
     selectAll.setAccelerator(javax.swing.KeyStroke.getKeyStroke(
             java.awt.event.KeyEvent.VK_A, Toolkit.getDefaultToolkit()
@@ -139,7 +142,7 @@ public class GCutAndPasteHtmlTransfer extends JInternalFrame
     copyItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(
             java.awt.event.KeyEvent.VK_C, Toolkit.getDefaultToolkit()
                     .getMenuShortcutKeyMask(), false));
-    
+
     editMenubar.add(jMenu1);
     editMenubar.add(editMenu);
     textarea.setFont(new java.awt.Font("Monospaced", Font.PLAIN, 12));
@@ -160,10 +163,11 @@ public class GCutAndPasteHtmlTransfer extends JInternalFrame
       }
     });
     displaySource.setText("Show HTML Source");
-    displaySource.setToolTipText("Select this if you want to copy raw html");
+    displaySource
+            .setToolTipText("Select this if you want to copy raw html");
     displaySource.addActionListener(new ActionListener()
     {
-      
+
       @Override
       public void actionPerformed(ActionEvent arg0)
       {
@@ -186,7 +190,7 @@ public class GCutAndPasteHtmlTransfer extends JInternalFrame
   protected void toggleHtml_actionPerformed(ActionEvent arg0)
   {
     // TODO Auto-generated method stub
-    
+
   }
 
   /**
@@ -210,7 +214,6 @@ public class GCutAndPasteHtmlTransfer extends JInternalFrame
   {
   }
 
-
   /**
    * DOCUMENT ME!
    *