275276277278279280281282283284285
boolean consumed = super.mouseClick(component, button, x, y, count); CalendarButton calendarButton = (CalendarButton)getComponent(); calendarButton.requestFocus(); calendarButton.press(); if (calendar.isShowing()) { calendar.requestFocus(); }
309310311312313314315316317318319
if (keyCode == Keyboard.KeyCode.SPACE) { pressed = false; repaintComponent(); calendarButton.press(); } else { consumed = super.keyReleased(component, keyCode, keyLocation); } return consumed;
271272273274275276277278279280281
305306307308309310311312313314315