File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
Taking screenshot of JSP page Using java
how to implement the processing of events without creating a window
Screen capture of web page?
Is there a efficient way to take a screenshot in Java?
Taking screenshot using java robot class not woring when pc is locked.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014