JAL-3130 Merge of JAL-3130_Java_11_investigations-Ben-2 and updated develop
[jalview.git] / src / jalview / gui / AlignFrame.java
index a587ac3..bd9f661 100644 (file)
@@ -1203,7 +1203,23 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
           PrintWriter out = new PrintWriter(
                   new FileWriter(backupfiles.getTempFilePath()));
 
+          // TESTING code here
+          boolean TESTING = true;
+          if (TESTING)
+          {
+            out.print("; TESTSTART\n");
+            int count = 20;
+            for (int i = 0; i < count; i++)
+            {
+              // Thread.sleep(1000);
+              out.println("; TEST: " + (count - 1 - i));
+            }
+          }
           out.print(output);
+          if (TESTING)
+          {
+            out.print("; TESTEND\n");
+          }
           out.close();
           this.setTitle(file);
           statusBar.setText(MessageManager.formatMessage(
@@ -4489,7 +4505,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
             int assocfiles = 0;
             if (filesmatched.size() > 0)
             {
-              boolean autoAssociate = Cache.getDefault("AUTOASSOCIATE_PDBANDSEQS", false);
+              boolean autoAssociate = Cache
+                      .getDefault("AUTOASSOCIATE_PDBANDSEQS", false);
               if (!autoAssociate)
               {
                 String msg = MessageManager.formatMessage(