Beispiel #1
0
 @Override
 public void execute(final Object arg) {
   rend.updateScrollbar();
   // update scrollbar to display value within valid range
   scroll.pos(scroll.pos());
   rend.repaint();
 }
Beispiel #2
0
 @Override
 public void execute(final Object down) {
   rend.updateScrollbar();
   cursorCode.execute((Boolean) down ? 2 : 0);
 }