235236237238239240241242243244245
boolean consumed = super.mouseClick(component, button, x, y, count); ListButton listButton = (ListButton)getComponent(); listButton.requestFocus(); listButton.press(); return consumed; } @Override
292293294295296297298299300301302
if (keyCode == Keyboard.KeyCode.SPACE) { pressed = false; repaintComponent(); listButton.press(); } else { consumed = super.keyReleased(component, keyCode, keyLocation); } return consumed;
234235236237238239240241242243244
280281282283284285286287288289290