I have a text widget where I want to make enter event to behave like a
tab event. so I capture the Key press event and raise a tab native
event.
However the tab behavior is not reflected in the application. Thee
code for event handler is
public void onKeyPress(KeyPressEvent event) {
When I use the deprecated createKeyPressEvent with more argument, it
fires the tab event but the behavior is not as per the tab key press
The new code changes from the above code in createKeyPress event line
as follows
NativeEvent nativeEvent =