Hi guys. I am hoping that someone has encountered this problem before and have some advice. I’ve have a custom implementation of an AWTPanel (two actually, one is a simple JPanel and the other one is a AWT canvas) and have embedded it into a NetBeans Platform application. Most of the time (for days) the scene works well and we do not have any issues whatsoever. But occasionally we get that the scene renders “garbage” and only the bottom left corner (quadrant) of the canvas becomes usable and renders correctly (see the image below). The only way to fix it is to restart the application.
It is very difficult to reproduce the problem and when it happens there are no errors. We have exhausted all avenues of debugging.
I apologise for not being able to post code here as I cannot extract a standalone test case that from our sources. I am hoping someone else have encountered the same problem before and have some advice. I guess the developers of JMonkeyPlatform should have had the same problem at some point with their NetBeans Platform application.