_orientation == Adjustable.VERTICAL)) {
int newvalue = _value - _blockIncrement;
setValue(newvalue);
AdjustmentEvent ae = new AdjustmentEvent(this, _value);
Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(ae);
}
/* Post an AdjustmentEvent if RIGHT or DOWN arrow was pressed.
*/
else if ((key == KeyEvent.VK_RIGHT &&
_orientation == Adjustable.HORIZONTAL) ||
(key == KeyEvent.VK_DOWN &&
_orientation == Adjustable.VERTICAL)) {
int newvalue = _value + _blockIncrement;
setValue(newvalue);
AdjustmentEvent ae = new AdjustmentEvent(this, _value);
Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(ae);
}
}