google-appengine-java <[email protected]> is probably the wrong group to ask this question. http://groups.google.com/group/google-web-toolkit is a better community for GWT questions.
Also - did your Widget has focus when you used the keyboard? On Sun, Oct 3, 2010 at 2:30 AM, wingdings <[email protected]> wrote: > just for like CTRL+1 or CTRL+2 .. how do i assigns shortcuts ? > > something like this i did but it aint executing , also am i doing it > right ? > mayday mayday ! > > public class quotation implements KeyboardListener > { > > public static Widget getSomeWidget() > { > > return new Widget; > } > @Override > public void onKeyDown(Widget sender, char keyCode, int modifiers) { > // TODO Auto-generated method stub > > } > > @Override > public void onKeyPress(Widget sender, char keyCode, int modifiers) { > if(KeyboardListener.KEY_CTRL == keyCode) > { > > } > > } > > @Override > public void onKeyUp(Widget sender, char keyCode, int modifiers) { > // TODO Auto-generated method stub > > } > } > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
