JDK-7124538 : [macosx] Painting: using setForeground/setBackground causes constant redraws even if the app is idle
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: generic
  • Submitted: 2011-12-23
  • Updated: 2012-02-22
  • Resolved: 2012-01-23
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.
JDK 7
7u4Resolved
Related Reports
Duplicate :  
Description
http://java.net/jira/browse/MACOSX_PORT-514 submitted 2011/10/06 by Leonid Romanov
Use attached file to reproduce. Just run it and you'll see a stream of "dispPane: paint" messages being printed on the console, which is a debug message I've added to the paint() method of the dispPane class.

Comments
EVALUATION Author: Leonid Romanov Date: 06/Oct/11 03:18 PM Remove both setForeground() and setBackground() calls from the test code and repainting problem will disappear.
23-12-2011