JavaFX applications turning to "black screen" after some time

John C. Turnbull ozemale at ozemail.com.au
Mon Sep 9 22:55:25 PDT 2013


I am not sure if it is a known issue but any JavaFX application I run and
then leave minimised for some time (say 15mins+) and then restore will have
an entirely black window with nothing actually visible.  This is on Windows
7 and Scene Builder curiously seems to be immune to this problem.

 

Any ideas why this is happening?  It looks like an off-screen buffer being
lost (as it resembles the behaviour I used to see with Swing VolatileImage
when the contents were lost)?

 

Is there any way to programmatically avoid this?

 

Thanks,

 

-jct



More information about the openjfx-dev mailing list