JDK-6463612 : 6451939 only fixed for Metal L&F
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-08-24
  • Updated: 2010-04-02
  • Resolved: 2006-08-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
6 b98Fixed
Related Reports
Relates :  
Relates :  
6451939 was only fixed for Metal L&F. The behavior is still reproducible on Win XP, Win Classic and Motif L&Fs. Try to run attached application on mentioned L&Fs and it shows the problem.

EVALUATION To summarize what Shannon said: . This is a regression introduced in the fix for 4991597. . 6451939 tried to fix this, but it fails for some look and feels (windows). . Proposed fix is to effectively revert the part of 4991597 that is breaking JTextArea (what this bug is against).

EVALUATION The fix for 6451939 tried to be careful about when colors were replaced by checking that the existing background was one of the known colors for the component. Unfortunately, even this isn't enough. In some cases, JLabel uses the same background color as one of those that the text components know about. For now, we haven't yet determined an optimal way to solve this problem. So we'll stop replacing the background color altogether for JTextArea. A new bug will be filed so that we can solve this problem in a better way.