aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes taking a snapshot of the screen[Pls. don't say can't do it] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "taking a snapshot of the screen[Pls. don Watch "taking a snapshot of the screen[Pls. don New topic
Author

taking a snapshot of the screen[Pls. don't say can't do it]

netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
Hi, I want to take a snapshot of the current screen and save it in a gif file.It is like to activate the printscreen & paste it in a new gif file.Is this possible.I also want to capture the screens thro' the network.i.e the screens of the systems in a network(LAN).Please reply me positively.
Happy middling with java.
Netharam.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

The java.awt.Robot class has a createScreenCapture( Rect ) method...

This creates a BufferedImage, which you'll have to use to create an image file.

In order to do this over a network, you'd have to have a client program installed on the machine to do the screen capture on that machine, and then have it send the screen capture over the network to you...

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
Hi, Nate thank you so much for u'r reply.I haven't tried it yet, but confident that I can do it.Thank You so much.
Happy middling with java.
Netharam :roll:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: taking a snapshot of the screen[Pls. don't say can't do it]