I am currently involved in writing a non applet based java application for windows. I am trying to mimic a program that someone sent to me, basically what it does is intercept keyboard strokes that the user enters and then displays letters from a predermined string "hi my name is Joe, I have a wife and three kids" The part that I am not able to replicate is the keyboard manipulation outside of the java frame. The orriginal program seemed to work with windows itself effecting all programs within such as microsoft word, aol instant messager, and other text based applications.
I do not know the language that the orriginal application was written, so I am not sure whether or not I can write such an application in java or not. I have been to java.sun.com and have been reading their Java APIs but I am at a loss. I don't know what I need to do to get my program to control keyboard events for other programs. I have been researching focus event listeners to know when the frame is maximized and minimized. From what I can gather though is that the focus event listeners can only be applied to frames that I have written, and that again I can only superimpose keyboard listeners to frames that I have written. Any help that you can provide would be greatly appreciated.
I am most familiar with the java language, so I am not really interested in your oppinions on how Java sucks or it is slow or anything of that nature, but if you could aid me in my problem, I would be most appreciative.
TIA - JoeCDaMan
I do not know the language that the orriginal application was written, so I am not sure whether or not I can write such an application in java or not. I have been to java.sun.com and have been reading their Java APIs but I am at a loss. I don't know what I need to do to get my program to control keyboard events for other programs. I have been researching focus event listeners to know when the frame is maximized and minimized. From what I can gather though is that the focus event listeners can only be applied to frames that I have written, and that again I can only superimpose keyboard listeners to frames that I have written. Any help that you can provide would be greatly appreciated.
I am most familiar with the java language, so I am not really interested in your oppinions on how Java sucks or it is slow or anything of that nature, but if you could aid me in my problem, I would be most appreciative.
TIA - JoeCDaMan