-
Short-cut key
hi to all,
Is there any way to get invoke my java method by short-cut key...
That means I want to invoke my java method by pressing short-cut key(which is assigned by me)...
where my java method is running by thread to awaiting for the user event...
Urgent please...
Thanks in advance...
-
You can use it in a GUI menu and invoke method to them. I don't know there is direct way or not available.
-
you can have a key listener that listens for key events but it has to be listening on something like a contentpane or something like that