X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fgui%2FAlignmentPanelTest.java;fp=test%2Fjalview%2Fgui%2FAlignmentPanelTest.java;h=3c749fd4073163c9459481d4828a19fe3fbf7ba8;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=3d06bc81e93a3b90af1249911cf5feac8bfbd58a;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;p=jalview.git diff --git a/test/jalview/gui/AlignmentPanelTest.java b/test/jalview/gui/AlignmentPanelTest.java index 3d06bc8..3c749fd 100644 --- a/test/jalview/gui/AlignmentPanelTest.java +++ b/test/jalview/gui/AlignmentPanelTest.java @@ -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);