Results 1 to 3 of 3

Thread: Short-cut key

  1. #1
    tskumarme is offline Member
    Join Date
    May 2008
    Rep Power

    Red face 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...

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power


    You can use it in a GUI menu and invoke method to them. I don't know there is direct way or not available.

  3. #3
    Zosden's Avatar
    Zosden is offline Senior Member
    Join Date
    Apr 2008
    Rep Power


    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
    My IP address is

Similar Threads

  1. Passing short value as parameter
    By javanewbie83 in forum New To Java
    Replies: 16
    Last Post: 07-16-2008, 06:27 AM
  2. why doesn't this short applet work?
    By kim85 in forum New To Java
    Replies: 1
    Last Post: 01-20-2008, 09:43 PM
  3. Short/Integer
    By mew in forum New To Java
    Replies: 3
    Last Post: 12-06-2007, 10:28 PM
  4. Replies: 0
    Last Post: 12-04-2007, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts