Robot robot = BasicRobot.robotWithCurrentAwtHierarchy();
ui.main();
//hit start
robot.click(robot.finder().findByName(ButtonPanel.START_BUTTON_NAME));
// perform tab key press and wait until it took place
robot.pressAndReleaseKey(KeyEvent.VK_TAB);
robot.waitForIdle();