A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
how do i capture screenshot via network in java swing
Joined: Jan 22, 2009
Apr 24, 2009 02:55:06
I want to get screenshot from another computer moniter via network.
I know how do it in same computer moniter.
Dimension screenSize =
Rectangle rectangle = new Rectangle(0, 0, screenSize.width,screenSize.height);
Robot robot = new Robot();
image = robot.createScreenCapture(rectangle);
File file = new File("screen.png");
ImageIO.write(image, "png", file);
any one can help me to get screenshot via network....thanks.
Joined: Jan 12, 2009
Apr 29, 2009 04:25:25
Simple, Write a
program that captures a screen shot on current computer.
now let the program to execute in the client machine listening at a socket for a "sendPrintScreen" Request.
Make a server program that has the ability to send this request to client and get response as a file sent via the network.
use TCP Ip
My Website: [
] Cool your mind:[
] My Sally:[
I agree. Here's the link:
subject: how do i capture screenshot via network in java swing
how to implement the processing of events without creating a window
Is there a efficient way to take a screenshot in Java?
Taking screenshot of JSP page Using java
Taking screenshot using java robot class not woring when pc is locked.
Screen capture of web page?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014