JAL-1628 formatting
authorJim Procter <jprocter@dundee.ac.uk>
Sun, 18 Jan 2015 15:44:04 +0000 (15:44 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Sun, 18 Jan 2015 15:44:04 +0000 (15:44 +0000)
src/jalview/appletgui/CutAndPasteTransfer.java

index ce2a3ac..0a9ca56 100644 (file)
  */
 package jalview.appletgui;
 
-import java.awt.*;
-import java.awt.event.*;
-
-import jalview.datamodel.*;
-import jalview.io.*;
+import jalview.datamodel.Alignment;
+import jalview.datamodel.PDBEntry;
+import jalview.datamodel.Sequence;
+import jalview.io.AnnotationFile;
+import jalview.io.AppletFormatAdapter;
+import jalview.io.IdentifyFile;
+import jalview.io.TCoffeeScoreFile;
 import jalview.schemes.TCoffeeColourScheme;
 import jalview.util.MessageManager;
 
+import java.awt.BorderLayout;
+import java.awt.Button;
+import java.awt.Dialog;
+import java.awt.Font;
+import java.awt.Frame;
+import java.awt.Panel;
+import java.awt.TextArea;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseListener;
+
 public class CutAndPasteTransfer extends Panel implements ActionListener,
         MouseListener
 {
@@ -132,12 +146,15 @@ public class CutAndPasteTransfer extends Panel implements ActionListener,
       pdb.setFile(text);
 
       if (alignFrame.alignPanel.av.applet.jmolAvailable)
+      {
         new jalview.appletgui.AppletJmol(pdb, new Sequence[]
         { seq }, null, alignFrame.alignPanel, AppletFormatAdapter.PASTE);
+      }
       else
-
+      {
         new MCview.AppletPDBViewer(pdb, new Sequence[]
         { seq }, null, alignFrame.alignPanel, AppletFormatAdapter.PASTE);
+      }
 
     }
     else if (treeImport)