&& locomotiveControl.getCurrentSpeed(myLocomotive) != 0) {
locomotiveControl.setSpeed
(myLocomotive, 0,
locomotiveControl.getFunctions(myLocomotive));
}
locomotiveControl.toggleDirection(myLocomotive);
speedBar.requestFocus();
updateWidget();
} catch (LocomotiveException e1) {
ExceptionProcessor.getInstance().processException(e1);
}