I’m using active rendering in my pseudo fullscreen mode app (no FSEM) using a VolatileImage as a buffer, but I don’t know how to recover the screen after switching apps or when I click the mouse to open a popup I registered in the frame of my app. Any help, please ?
Is a portion of the screen deleted when another window is dragged over it?
In that case, your app just needs to re-render a frame.
Is garbage appearing or nothing gets shown on the screen when you render?
Chances are then your VolatileImage needs to be re-validated since it was lost when you switched apps. Here’s an article that shows you how to do this:
http://weblogs.java.net/pub/wlg/435
Is there a particular reason you were using a VolatileImage instead of a BufferStrategy for your backbuffer?
Thanks for the article, it helped me understand this whole thing better.
[quote]Is there a particular reason you were using a VolatileImage instead of a BufferStrategy for your backbuffer?
[/quote]
Can BufferStrategy be used outside FSEM ?
[quote]Can BufferStrategy be used outside FSEM ?
[/quote]
Yes.