I built an app with gwt,mgwt and gwtphonegap. One of my view having few text fields, I have a requirement that I need to set the default focus on my first field when I visited that view. For this ,
firstInputField = new MTextBox();
firstInputField.setFocus(true);
//I'm not calling setFocus() on remaining fields. But my firstInputField not having focus when view is loaded. If there are any straight or alternative ways to do it,please provide me.
thanks in advance,
Arun Kumar.