Results 1 to 4 of 4
- 08-08-2011, 08:35 PM #1Member
- Join Date
- Aug 2011
- Rep Power
- 08-08-2011, 09:36 PM #2works when the frame is selected
Do you have key listeners for all the components that can be selected?
Also look at key binding. That will allow other parts of the program to get key strokes besides the one with focus.
If you are trying to make a key logger that captures key strokes in the background, then don't use Java for this purpose (which hopefully isn't a nefarious one). Java is OS agnostic and does not allow easy access to low-level OS calls.
- 08-12-2011, 03:40 PM #4
yeah, java keyloggers is a failed attempt due to Sun's/Oracles security measures to make sure that the program MUST be selected or highlighted or active in order to have any input done to it. It will not scan for keyboard input and save it to some file that you will, in turn send back to your machine though some easily accessible mailing client or maybe SCP.
- By PhQ in forum New To JavaReplies: 7Last Post: 10-17-2010, 05:26 PM
- By krato in forum Advanced JavaReplies: 0Last Post: 08-03-2010, 11:46 PM
- By Maiquelnet in forum Advanced JavaReplies: 1Last Post: 11-16-2009, 08:28 PM
- By Hasan in forum NetworkingReplies: 1Last Post: 05-31-2007, 05:44 PM