218219220221222223224225226227228
boolean consumed = super.mouseClick(component, button, x, y, count); CalendarButton calendarButton = (CalendarButton)getComponent(); calendarButton.requestFocus(); calendarButton.press(); return consumed; } @Override
248249250251252253254255256257258
if (keyCode == Keyboard.KeyCode.SPACE) { pressed = false; repaintComponent(); calendarButton.press(); } else { consumed = super.keyReleased(component, keyCode, keyLocation); } return consumed;
238239240241242243244245246247248
268269270271272273274275276277278
234235236237238239240241242243244
264265266267268269270271272273274