Drawing VolatileImages is slower in fullscreen mode?

My game uses a VolatileImage for the drawing buffer. It is created using GraphicsConfiguration.createCompatibleVolatileImage().

When the window is maximized, everything runs smoothly, but FPS drops sharply once I switch to fullscreen mode.

Is there a workaround for this? I don’t want to use a BufferedImage because FPS in windowed mode decreases quite a lot if I do that.

I found a thread for what appears to be the same problem, but there isn’t much relevant information in it: http://www.java-gaming.org/index.php?topic=22414.0

Actually, the problem still occurs if I skip the buffering and draw directly to the JPanel. So the Volatile Image isn’t the problem, drawing to a JPanel while in fullscreen mode is.

Are you using a buffer strategy?

No, but I did find a solution–I just undecorated a JFrame and maximized it. It’s indistinguishable from true fullscreen mode.