135136137138139140141142143144145
} @Override public boolean mouseClick(Component component, Mouse.Button button, int x, int y, int count) { MenuButton menuButton = (MenuButton)getComponent(); menuButton.press(); if (menuPopup.isShowing()) { menuPopup.requestFocus(); }
169170171172173174175176177178179
if (keyCode == Keyboard.KeyCode.SPACE) { pressed = false; repaintComponent(); menuButton.press(); } else { consumed = super.keyReleased(component, keyCode, keyLocation); } return consumed;
207208209210211212213214215216217
206207208209210211212213214215216
205206207208209210211212213214215
141142143144145146147148149150151
175176177178179180181182183184185
145146147148149150151152153154155
179180181182183184185186187188189