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

RFE: Want to use German characters (ä,ö,ü,ß) as mnemonics

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs



      Name: rmT116609 Date: 10/07/2002


      FULL PRODUCT VERSION :
      java version "1.4.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1.-b21)
      Java HotSpot(TM) Client VM (build 1.4.1.-b21, mixed mode)

      FULL OPERATING SYSTEM VERSION :
      Windows XP Home German-Version 5.1.2600

      ADDITIONAL OPERATING SYSTEMS :
      Win2000, WinNT


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      you'll need a german keyboard

      A DESCRIPTION OF THE PROBLEM :
      Can't use the German charactes M-^D÷M-^RM-^^ as mnemonics. They become underlined, but don't work.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. run the program I've pasted below
      2. press ALT+Ù
      3. the menu should open, but nothing happens

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      after pressing ALT+Ù the menu should open but nothing
      happens

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import java.awt.event.*;
      import javax.swing.*;

      public class mnemonicRFE
      {
        public static void main(String[] args) {
          JFrame f = new JFrame();
          f.setSize(200,100);
          JMenuBar mb = new JMenuBar();
          f.setJMenuBar(mb);

          JMenu m = new JMenu("abc ýÙM-^[M-^^");
          m.setMnemonic('Ù');
          mb.add(m);

          JMenuItem mi = new JMenuItem("menuitem");
          m.add(mi);

          f.show();
          try { Thread.sleep(4000); }
          catch(Exception e) {}

          System.exit(0);
        }
      }
      ---------- END SOURCE ----------
      (Review ID: 165109)
      ======================================================================

            apikalev Andrey Pikalev
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: