JDK-6542109 : Clean up Swing painting to non-screen graphics.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-04-03
  • Updated: 2011-01-19
  • Resolved: 2010-09-27
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
7Resolved
Related Reports
Duplicate :  
Relates :  
Description
JComponent sends painting through the BufferStrategyPaintManager. When the Graphics being painted to is not a screen graphics, this results in an un-needed double-buffering and the BSPM being marked out of sync until a full repaint of the root pane. This could be improved such that BSPM is only used for known paints to screen, or at least changed such that the buffer doesn't stay out of synch for so long.

See 6542106 that provides a fix for the case of painting to an image.