formatting
[jalview.git] / src / jalview / jbgui / GCutAndPasteHtmlTransfer.java
index 6627029..fa9e62c 100644 (file)
@@ -32,7 +32,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 +43,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 +105,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 +114,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 +141,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 +162,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 +189,7 @@ public class GCutAndPasteHtmlTransfer extends JInternalFrame
   protected void toggleHtml_actionPerformed(ActionEvent arg0)
   {
     // TODO Auto-generated method stub
-    
+
   }
 
   /**
@@ -210,7 +213,6 @@ public class GCutAndPasteHtmlTransfer extends JInternalFrame
   {
   }
 
-
   /**
    * DOCUMENT ME!
    *