Results 1 to 4 of 4
- 08-08-2011, 08:35 PM #1
Member
- Join Date
- Aug 2011
- Posts
- 2
- Rep Power
- 0
- 08-08-2011, 09:36 PM #2
Yes, the selected component is the one to get the key events.works 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.
Similar Threads
-
Capture
By PhQ in forum New To JavaReplies: 7Last Post: 10-17-2010, 05:26 PM -
DVB-T capture
By krato in forum Advanced JavaReplies: 0Last Post: 08-03-2010, 11:46 PM -
Pixel capture
By Maiquelnet in forum Advanced JavaReplies: 1Last Post: 11-16-2009, 08:28 PM -
How to capture IP packets
By Hasan in forum NetworkingReplies: 1Last Post: 05-31-2007, 05:44 PM


2Likes
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks