Duplicate :
|
|
Relates :
|
|
Relates :
|
The fix to 4465905 changed BasicTextUI to reinstate focus after invoking setSize on the root view. This corrects the problem where HTML form text fields, displayed in a JEditorPane, were losing focus when typing in them. Unfortunately it adds a negative side effect. The attached test program shows the problem. It is a simple editable JEditorPane with two form text fields. Click on one field to give it focus. Now try to click on some text in the JEditorPane. Notice that focus jumps back to the text field. This is undesirable.
|