JDK-6458792 : Selecting the text in JTextField, & clicking on the other JtextField results in painting issue.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2006-08-10
  • Updated: 2011-02-16
  • Resolved: 2006-11-01
Related Reports
Duplicate :  
Description
Selecting the text in JTextField, & clicking on the other JtextField results in painting issue on the first JTextField border in  GTK look and feel ( CRUX theme). 
Step to Reproduce :-
------------------
1) Run the attached program.
2) Select the first textfield contents, which is having "AWT".
3) Click on the second textfield, which is having "Swing".
4) Once again click on the fist textfield. You can that selection is gone. Observe that first textfield border is not painted properly. I have attached the screen shots of the same.
You can even see a related bug 6402694.

Comments
EVALUATION This bug was fixed by Chris.Campbell as a part of an umbrella fix for 6292725. We should generate a repaint event when we loose/gain focus in text areas.
01-11-2006

EVALUATION There is some insets issue
11-08-2006