6869707172737475767778
save.addClickListener( cl ); comment.addKeyboardListener(new KeyboardListenerAdapter() { @Override public void onKeyUp(Widget sender, char keyCode, int modifiers) { if (keyCode == KeyboardListener.KEY_ENTER) { cl.onClick(null); } } }); }
889890891892893894895896897898899
choices.addKeyboardListener(new KeyboardListenerAdapter() { @Override public void onKeyUp(Widget sender, char keyCode, int modifiers) { if (keyCode == KeyboardListener.KEY_ENTER) { cl.onClick(sender); } } }); Button ok = new Button(constants.OK());
910911912913914915916917918919920
8485868788899091929394