GWT 2.8
I have the following code. It is used in a application where the input device is a usb keypad with numbers and # key.
Code snippet follows:
gameInput.addKeyPressHandler(new KeyPressHandler() {
@Override
public void onKeyPress(KeyPressEvent event) {
int keycode = event.getCharCode();
if (keycode == '#') {
String gamecode = gameInput.getText();
gameInput.clear();
gameInput.setText("");
.....
Any help would be appreciated.
Best
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment