Drawing to primary surface
Hi,
I need to read and write directly to the screen ( more accurately, the screen buffer or primary surface).
I would be very grateful if someone could tell me how to do this in Java.
I don't want to enter full screen mode, the whole point is to overlay a message on top of the existing windowed environment, without putting up a new window. The objective is to be able to alter ( and restore ) the image at any point on the screen.
I imagine that there is a simple way to get a reference for the window of the whole screen, but I have been unable to find it.
( I've looked everywhere! I've searched the forums, I have read the Full-Screen Exclusive Mode API tutorial, and much much more, but I have not been able to find this information.)
I would be especially happy if you know where I can find a program or code snippet that does this.
Thanks.

