You are unlikely to get that done from pure java. What you want to do is low-level, system dependant and you won't find a native java package to do that for you. What you will need to do is to write a native library (possibly in C) to do the low-level stuff and then pass the captured data up to...
I assume you are using Java 2 1.4.0 or later.
Looking at the thread I gather you want to know the name of the method you are currently in. You can do this using an exception:
public class WhereAmI {
/** tells me which method called me */
public static String tellMe() {
Exception e =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.