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


Groups > comp.lang.java.gui > #2890

Re: keypressed of up arro

From "KaL" <kal@THRWHITE.remove-dii-this>
Subject Re: keypressed of up arro
Message-ID <NUU9j.19036$8j3.10264@tornado.fastwebnet.it> (permalink)
Newsgroups comp.lang.java.gui
References <47680183$0$850$ba4acef3@news.orange.fr>
Date 2011-04-27 15:41 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Il Tue, 18 Dec 2007 18:21:53 +0100, Jack ha scritto:

> Hi,
> 
> i have a Swing problem, i don't receive the "keypressed event" for "up
> arrow" when the Ctrl key is pressed. I have one computer for which i
> receive the keyPressed, but another computer the java program doesn't
> work.
> 
> I keep "Ctrl" key pressed, and i type the up arrow key.
> 
> On the "working" computer:
> 
> keyPressed keyCode = VK_CONTROL, modifiers = Ctrl keyPressed keyCode =
> VK_CONTROL, modifiers = Ctrl keyPressed keyCode = VK_CONTROL, modifiers
> = Ctrl keyPressed keyCode = VK_CONTROL, modifiers = Ctrl keyPressed
> keyCode = VK_CONTROL, modifiers = Ctrl keyPressed keyCode = VK_CONTROL,
> modifiers = Ctrl keyPressed keyCode = VK_CONTROL, modifiers = Ctrl
> keyPressed keyCode = VK_UP, modifiers = Ctrl
> 
> 
> On the "not working" computer:
> 
> keyPressed keyCode = VK_CONTROL, modifiers = Ctrl keyPressed keyCode =
> VK_CONTROL, modifiers = Ctrl keyPressed keyCode = VK_CONTROL, modifiers
> = Ctrl keyPressed keyCode = VK_CONTROL, modifiers = Ctrl keyPressed
> keyCode = VK_CONTROL, modifiers = Ctrl keyPressed keyCode = VK_CONTROL,
> modifiers = Ctrl keyPressed keyCode = VK_CONTROL, modifiers = Ctrl
> 
> The "up" key is not seen. Do i misuse the Java API, or do you know any
> bug wich could be the cause of that behavior?
> 
> 
> The source code:

> [...omitted code...]

> Thnaks for any help

Maybe this combination is already bound by another process...
I'm just guessing,
K'

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

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


Thread

keypressed of up arrow no "Jack" <jack@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
  Re: keypressed of up arro "KaL" <kal@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
    Re: keypressed of up arro "Jack" <jack@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
  Re: keypressed of up arro "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
    Re: keypressed of up arro "Jack" <jack@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
      Re: keypressed of up arro "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
      Re: keypressed of up arro "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
        Re: keypressed of up arro "Jack" <jack@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
          Re: keypressed of up arro "Lew" <lew@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
            Re: keypressed of up arro "Jack" <jack@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000

csiph-web