aspose file tools
The moose likes Beginning Java and the fly likes help required in Java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

help required in Java program

Bilal Ali
Ranch Hand

Joined: Jun 14, 2007
Posts: 66
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.

Thanking You,
Bilal Ali.
I agree. Here's the link:
subject: help required in Java program