how to run the java program behind the system
I am developing a one application. I want to read the every character from keyboard which is typed.And i store this character into a file.To develop this i used the following code.
printStream f=new printStream("pathname");
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
It is working .but what i am doing is, i want to run java program behind the system(windows xp2) i.e to hide the process and to read the every character from keyboard. Even i type in the the notepad editor ,i want to read that characters also. please anyone help me.
thanks in advance,