However, it seems BufferStrategy doesn't like to draw on to a Canvas when in fullscreen mode. See my thread to see what I mean:
http://forum.java.sun.com/thread.jsp?forum=406&thread=307804
An alternative to BufferStrategy is to use VolatileImage and do your own double buffering on there. BufferStrategy actually uses VolatileImage to draw on to the screen, but it does all the "nasty" things you would need to do if you did double buffering manually.
Frumple
> OKay thanks people.
>
> I dont generally use canvases though. I use JPanels.
> Does BufferStrategy work there to?
No, only frames and canvases.
> And can you display swing components, or awt
> components in fullscreen mode?
Yes, though it is more complicated. I generally prefer to make my own components....