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

JButton mnemonic regression in Merlin beta2.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • beta2
    • x86, sparc
    • solaris_8, windows_2000
    • Verified

      The source code JButtonDemo.java comes from the Java Swing Tutorial. It is
      attached. The problem is that ALT-E is not serving as a mnemonic for the
      rightmost button. The problem occurs on Windows 2000 and Sparc/Solaris 8.
      This is a regression, because the tutorial works with JDK 1.3.1.

      algol% uname -a
      SunOS algol 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-2
      algol% java -version
      java version "1.4.0-beta_refresh"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b66)
      Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b66, mixed mode)

      Copy ButtonDemo.java into your current working directory. Make a subdirectory
      called "images". Copy right.gif, left.gif, and middle.gif into images.
      Compile ButtonDemo.java and run it with java.

      Once you load ButtonDemo.class you will see a window. Make sure the
      ButtonDemo window has focus. Type ALT-M and verify that the middle button
      is listening. Type ALT-D to disable the middle button. Typing ALT-E
      should re-enable the middle button but does not.


      allan.jacobs@Eng 2001-06-06

            svioletsunw Scott Violet (Inactive)
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: