This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Respected Members, I want to make a program in Java but very much confused that whats the solution, the following is the scenario:
The Java program which I have to make is continiously running in the memory, Suppose I have a third party software running on my PC which contains simply a form and a text feild, I dont have access to the source code or any API of the software , what my Java program has to do is that when user enters some value in the text feild of that software and than selects the value, after selecting the value when the user press ctrl+alt key (pressing both ctrl and alt keys together) than that selected value is taken by my program and assigned to string variable, I am unable to understand that how is this possible, because I dont have access to the source code of that program than how can I get the selected value from a paticular text feild, is it possible that when the user presses ctrl+alt than my program puts the value into clipboard and than retrive the value from clipboard, but in Java how can we access the clipboard ,please members guide me that what can be the solution to this problem and are there any other ways besides clipbord idea.