/*
* 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
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
// 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);