Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1240794

fp.bugs 3580 win32:controlDown() modifier does not work in the keyDown() handler

XMLWordPrintable

    • 1.1
    • sparc
    • solaris_2.5
    • Not verified


      From: Sian Tan <###@###.###>
      This does not look like form output to me.


      Problem:

      the controlDown() modifier does not work in the keyDown()
      handler. shiftDown() works, however.

      Hardware: Pentium 133 running Win NT 3.51 and standard IBM
      keyboard.

      Steps to try to reproduce problem:

       public boolean keyDown(Event e,int k)
        {
           if(e.controlDown() && (k=='x' || k=='X')) //event handler
           {
              etc. etc.
           }
           return true;
         else
           return false;
      --

      **************************
      Sian Tan
      Center for Design Research
      560 Panama Street
      Stanford, CA 94305
      Tel: 1-415-725 0161
      Fax: 1-415-725 8475
      **************************

      [aim 6/13/96]
      This can be tested by running "java EventTest" in:
      /home/aim/Java/Test/Events/EventTest
      And moving focus into the yellow canvas in the center
      of the window and typing the keys with the modifiers.

            tballsunw Tom Ball (Inactive)
            bhagen Benjamin Hagen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: