jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes help and suggestions required in Java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

help and suggestions 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.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15092


Please do not post the same question in multiple forums.
Carefully choose one forum.

Continue discussion in your thread in Java in General (Beginner).

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link: http://aspose.com/file-tools
subject: help and suggestions required in Java program
It's not a secret anymore!