Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18603

Re: How To: Make Keyboard Keys To Execute A Method?

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How To: Make Keyboard Keys To Execute A Method?
Date 2012-09-07 22:28 -0700
Organization Canadian Mind Products
Message-ID <nrll48t64iak3tk0hbgmqamfb6k9nbaa1a@4ax.com> (permalink)
References <860b8b1f-3b08-4cde-8473-16cd910a54af@googlegroups.com>

Show all headers | View raw


On Fri, 7 Sep 2012 05:10:46 -0700 (PDT), clusardi2k@aol.com wrote,
quoted or indirectly quoted someone who said :

>For example, if someone types the "control" key,
 "shift" key, and the "enter" key I want to execute a method called
"keyboard_input". Do you also have a working example.

 See http://mindprod.com/jgloss/jmenu.html

the easiest way is to make the keys accelerator shortcuts for a menu.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
A new scientific truth does not triumph by convincing its opponents and making them see the light,
but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
~ Max Planck 1858-04-23 1947-10-04 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How To: Make Keyboard Keys To Execute A Method? clusardi2k@aol.com - 2012-09-07 05:10 -0700
  Re: How To: Make Keyboard Keys To Execute A Method? "John B. Matthews" <nospam@nospam.invalid> - 2012-09-07 09:47 -0400
    Re: How To: Make Keyboard Keys To Execute A Method? clusardi2k@aol.com - 2012-09-07 09:10 -0700
      Re: How To: Make Keyboard Keys To Execute A Method? "John B. Matthews" <nospam@nospam.invalid> - 2012-09-07 13:15 -0400
  Re: How To: Make Keyboard Keys To Execute A Method? Roedy Green <see_website@mindprod.com.invalid> - 2012-09-07 22:28 -0700

csiph-web