Suggestions required for solving a Java problem.

Respected Members,

I am working on a project from quite some time, during this time I have consulted different books, web sites, posted various messages on various forums but still unable to get the solution, actually the solution which I am aiming should be purely Java based, below I am first stating the scenario and than my questions, I would be waiting for replies from your side, please give me suggestions that how to make this thing possible and please help me finding some pure Java solution to this problem(if a pure java solution) exists), following is the scenario:

Scenario:

I want to make a Java application which is continuously running in memory, by continuously running in memory I mean that when ever I start my PC the application starts running at the back end just like a Windows Service without any user intervention and when the PC is closed the application will off course stops working like all other windows services. Now what this application has to do is to continuously monitoring all the key strokes pressed from the keyboard by the user, when ever a user presses Ctrl-F3 ( pressing Control key and F3 keys together) than a pop up message will appear on the screen but if the user presses some other key or a combination of different key strokes than nothing will happen. This is the complete scenario which I am facing, now the questions which I have are as follows:

Questions:

1) How can I trap an event ( any particular key press event) from a Java program which is running in the windows service, handling key board events for a GUI based forms is quite simple but how can I trap an event for such a program, how can I bind my key press events to this program.

2) My second question is that how to add a Java program to a windows service so that every time I start my PC my program like all other services also starts running.

3) Last but not the least that I need a pure Java based solution, is this really possible and if not than what are the other ways to solve this scenario.

Thanking You in advance.

[2121 byte] By [taqi10a] at [2007-11-27 11:39:06]
# 1

SPY program to get maybe your friends mail password !!!!!!!

I have it already ;-)

It's available in source Forge.. Search there..

New_Kida at 2007-7-29 17:24:02 > top of Java-index,Java Essentials,Java Programming...
# 2

Google 'key logger'.

Futurisdom_Developera at 2007-7-29 17:24:02 > top of Java-index,Java Essentials,Java Programming...
# 3

Hi again taqi10 . I have seen some other persons asking questions related to your - if you have not already read them you should do it now:

Q: How to read a char from the console without pressing ENTER?

http://forum.java.sun.com/thread.jspa?threadID=5197450

Q: Running On Start Up?

http://forum.java.sun.com/thread.jspa?threadID=5197540

I am sorry, but it seems your first problem can not be solved. Hope you find something! (btw: may I ask why you are doing this, it's not for personal use? and why do you use jdk 1.4.2?)

Ja_Lava_Javaa at 2007-7-29 17:24:02 > top of Java-index,Java Essentials,Java Programming...