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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Not verified

      Description


      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: