Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic