Results 1 to 3 of 3

Thread: Short-cut key

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

    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
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    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
    Posts
    384
    Rep Power
    7

    Default

    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 127.0.0.1

Similar Threads

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

Posting Permissions

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