272829303132333435
public void focusNextComponent(Component aComponent) { final Window window = getActiveWindow(); if(window instanceof StageFrame) { StageFrame frame = (StageFrame)window; frame.getStage().getKeyListener().focusOnNextInput(); } }
383940414243444546
public void focusPreviousComponent(Component aComponent) { final Window window = getActiveWindow(); if(window instanceof StageFrame) { StageFrame frame = (StageFrame)window; frame.getStage().getKeyListener().focusOnPreviousInput(); } }