示例#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();
 }
示例#2
0
 @Override
 public void execute(final Object down) {
   rend.updateScrollbar();
   cursorCode.execute((Boolean) down ? 2 : 0);
 }