Robot « Development « Java Swing Q&A





1. Java Robot createScreenCapture performance    stackoverflow.com

I need to grab a series of screenshots and concatenate them into a movie. I'm trying to use the java Robot class to capture the screen. But the createScreenCapture() method takes ...

2. java.awt.Robot    coderanch.com

3. Robot    coderanch.com

4. About java.awt.Robot    coderanch.com

5. java.awt.Robot    coderanch.com

Hello, I'm using the Robot class to send commands to windows to control the mouse and keyboard for work. Everything seems to be working fine but for the life of me I cannot send a Ctrl+Alt+Delete command to unlock my workstation so I can begin processing. Has anyone EVER done this before? A simple sniplet of my code is below: roboCop.keyPress(KeyEvent.VK_CONTROL); ...

6. robot class question    coderanch.com

Hi, As I understand, Windows, and perhaps some other operating systems, keep track of whether or not a key on the keyboard, or a mouse click, etc. is activated by a real live human using the actual interface device, versus if it is simulated programatically. I am told this information then travels with the key press to any application it is ...

7. Robot    coderanch.com

Hi, I have an application that uses teh Robot class to control the mouse. It works fine on my regualr Windows XP workstation. When I deploy to a remote Windows 2003 server, the application only seems to be able to control the mouse when I have a Remote Desktop Connection attached. When I disconnect the client, the application no longer seems ...

8. Robot class    coderanch.com





11. JAVA Robot    coderanch.com

I simulated a game play by generating keyhits through java's Robot class. Its like a Java program running in background that generates key presses like W A S D to accelerate, turn and brake a car. Which key to press is controlled by some mechanism. However my problem is that i want the Java program that simulates key press to run ...

13. Robot().createScreenCapture() to capture 2nd monitor?    coderanch.com

This code snippet takes a screenshot of the screen, however it is noted that whilst I have two monitors, the screenshot is only generated for a single screen. Is it possible to modify the program to take a screenshot of both screens, not just my primary monitor? I am currently using WinXP SP3. import java.awt.AWTException; import java.awt.Robot; import java.awt.Rectangle; import java.awt.Toolkit; ...

14. Taking screenshot using java robot class not woring when pc is locked.    coderanch.com

Hi Everyone, I have implemented robot to take the screenshot of the desktop. Robot objRobot = null; try { objRobot = new Robot(); } catch(Exception ex) { } BufferedImage objBufferedImage = objRobot.createScreenCapture(objRectArea); The problem with robot is when my computer is locked the image comes as black.That is what is displayed in the desktop is not captured.I need the screenshot of ...

15. Problems using java.awt.Robot in a Swing Application (Enter Control+SPACE twice)    coderanch.com

On Windows XP SP 3, in a Swing database application (Eclipselink 2., Oracle jdbc) I call a method that creates a thread at the end of my populateAll() method to hold down the Control key and tap the SPACE BAR twice. This fires the "toggleAndAnchor" of a single column JTable containing a list of names, to repeat the JPA queries that ...

16. Robot    java-forums.org

Hi, I have made a bot. For a game. It goes races people on the game. Is it possible to make the bot identify images and text? In the game you can change your car (you have to drag a picture to a space to change it) and would it be possible if the bot would identify the picture and drag ...





17. ROBOT Class help and hosting paradox    java-forums.org

Hello guys I am anshul.....i am freak...i made a small program to just test it how it works on webapp....the program is below... but the problem is that ... i ran it on localhost it worked fine....but when i hosted it on internet with real ip......then give it to my freind ....he click on the link which i gave him....it was ...

18. becker.robot GUI question    java-forums.org

Hi im trying to make a external control trough buttons for becker.robots package. But i have few problems even at this early stage when make a external panel i have to click the start button on the main window where the robot is otherwise the program crashes. Im thinking of either remove the start stop button somehow or inserting my controls ...