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

Cannot enter "<" in AWT TextComponents (German Keyboard)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs
    • x86
    • windows_95



      Name: krT82822 Date: 12/20/98


      Using a German Keyboard with JDK 1.2 in all awt TextComponents
      the Keys 'Greater' and 'Less' are not recognized.
      KeyPressed events report an unknown Keycode, KeyTyped Events
      work fine.

      TextComponents display a question mark.

      JTextComponents work.

      Sourcecode:

      import java.awt.*;

      public class LTBugTest{

        public static void main (String[] args) {
          Frame f=new Frame("Enter \">\" or \"<\"") ;
          Component field=new TextField(20);
          f.add("Center",field);
          f.pack();
          f.show();
        }

      }
      (Review ID: 48054)
      ======================================================================

            ehawkessunw Eric Hawkes (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: