I have the following problem:
I have a game running in fullscreen mode with
bufferStrategy = getBufferStrategy();
and I'd like to have an ingame button for making screenshots.
I've been using awt.robot so far, but the image is just plain white when I save it.
I read somewhere else that it has to do with java not drawing to it's own components
but rather to some OS-component...
So I hope for you to give me an answer to one of the two possibilities:
1) Is there an easy way to get an image from that external source with java-code?
I don't want to use something like FRAPS, it should be possible ingame.
2) Is there a way to get an image from bufferStrategy or related components ?
Thanks, I appreciate any help.