JDK-8094596 : Black background artifacts when increasing window size
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2011-07-10
  • Updated: 2022-06-01
  • Resolved: 2014-01-23
Related Reports
Relates :  
Description
When you increase the window size of a JavaFX application by dragging the window border with the mouse you see artifacts of the black window background. This makes JavaFX look slow and ugly. The size of the artifacts depends on the drag speed. I wonder why you can see these background artifacts if a not too complex scene graph can be rendered at 60 Hz (the screen refresh rate). If window and scene drawing were properly synchronized such artifacts should never be visible as long as the scene can be rendered fast enough.

If this problem cannot be solved at its root it might help to at least change the window background color to the background color of the scene, so that these artifacts become less obvious and disturbing.
Comments
If you run other applications on Windows such as IE, you can see that they also have a black background. It is not possible to avoid this. Native Windows applications have this restriction.
23-01-2014