Automated screen capture app possible in Java?
I'm trying to code an automated screen capture app and was wondering if it was possible to do it in Java. It would run like a background process and listen for the PrintScreen key (in MS Windows) -- capturing the OS screen and saving it automatically. The app doesn't even need a GUI. I could just run it on the command line, send it to the background and continue recording screen-shots.
I was doing a little research on it and found: How to Write a Key Listener (The Java™ Tutorials > Creating a GUI With JFC/Swing > Writing Event Listeners) I ran the example noticed it didn't even recognise the Print screen key for some reason.
I'm also reading about awt.robots and figuring out how that works.
Does anyone have any experience with this kind of thing and could offer advice? Possibly there is already a working example of source code I could study.