Merge branch 'develop' into merged_2_11_2_0_to_2_12
[jalview.git] / test / jalview / gui / AlignmentPanelTest.java
index 3d06bc8..3c749fd 100644 (file)
@@ -62,11 +62,14 @@ public class AlignmentPanelTest
     /*
      * ensure the panel has been repainted and so ViewportRanges set
      */
-    SwingUtilities.invokeAndWait(new Runnable() {
-               @Override
-               public void run() {
-                   af.repaint();
-               }});
+    SwingUtilities.invokeAndWait(new Runnable()
+    {
+      @Override
+      public void run()
+      {
+        af.repaint();
+      }
+    });
 
     /*
      * wait for Consensus thread to complete
@@ -100,6 +103,7 @@ public class AlignmentPanelTest
     assertEquals(ranges.getEndRes(), oldres);
 
     af.alignPanel.setScrollValues(0, 5);
+
     // no update necessary now
     // setting 0 as x value does not change residue
     // no update necessary now
@@ -113,7 +117,6 @@ public class AlignmentPanelTest
 
     // scroll to position after hidden columns sets endres to oldres (width) +
     // position
-
     int scrollpos = 53; // was 60, but this is too high to allow full scrolling
                         // in Windows
     af.getViewport().hideColumns(30, 50);