I have an issue with JavaFX WebView component. When I load e.g. this maps leaflet:
http://leafletjs.com/examples/quick-start-example.html
Then I call action like lock computer by ctr + alt + del or change destkop resolution or screen rotation and go back from this action - the content of javaFX component disappears. There's no way to return content properly. I try it by oracle example:
http://docs.oracle.com/javafx/2/webview/jfxpub-webview.htm
During this problem, my console sometimes shows this:
Outstanding resource locks detected:
D3D Vram Pool: 48��401��566 used (18,0%), 48��401��566 managed (18,0%), 268��435��456 total
13 total resources being managed
average resource age is 25.0 frames
0 resources at maximum supported age (0,000000)
3 resources marked permanent (23,100000)
4 resources have had mismatched locks (30,800000)
4 resources locked (30,800000)
11 resources contain interesting data (84,600000)
0 resources disappeared (0,000000)
Workaround:
1. This problem occurs when I have a Hardware Acceleration turns ON (on my desktop PC), when i turned it OFF, the problem isn't occurs (screen resolution - > advanced settings -> Troubleshoot - > change settings).
2. When i use java 7, this problem isn't occurs, but my leaflet maps isn't work properly in generally.