Community
Participate
Working Groups
If setText() is called on a text widget, it will also gain focus. Below is a snippet for a text widget with a focus listener which sets the text, and another text widget. When changing focus to the second text field, the cursor returns to the first text field. This behaviour is only reproduceable in Internet Explorer. Text textfield = new Text(composite, SWT.NONE); textfield.addFocusListener(new FocusAdapter() { @Override public void focusLost(FocusEvent e) { textfield.setText("test"); } }); Text textfield2 = new Text(composite, SWT.NONE);
Albina, there was a bug 262908 exactly as yours which is fixed in 1.2M7. I can't reproduce it with current CVS HEAD too. What is the RAP version used?
I will close it as duplicate of bug 262908. Feel free to reopen it if the bug persist. *** This bug has been marked as a duplicate of bug 262908 ***