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

Bug in accent chars (java.awt.TextFields)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.5, 1.1.6
    • client-libs
    • x86
    • windows_95



      Name: paC48320 Date: 01/08/98


      Accent problem in Java:

      import java.awt.*;
      public class Test extends Frame
      {
          public static void main(String argv[])
          {
              new Test();
          }

          public Test()
          {
              add("Center", new TextField(10));
              pack();
              setVisible(true);
          }
      }


      In Denmark we use dead keys for making chars like
      an 'e' with an '´' above (if you can read the
      char then thats an 'é'). So when I press '´'
      nothing happends until I press 'e'. And then I get
      my char ('e´'). That is how it should be.

      BUT on my JDK1.1.4, JDK1.1.5, JDK1.2b2 it kind of
      works. I have to press the two keys VERY FAST
      after one another (like within 1/20 of a second).
      If Im too slow I just get an 'e'. In all my other
      Windows programs where is no problem. I can press
      '´' wait for as long as I want and then 'e' and
      still get my 'e´'.

      To be able to do this right is of real importance
      to my. I am coding a db-userinterface for
      TeleDanmark (the danish phone company) and for
      Cisco
      (Review ID: 22144)
      ======================================================================

            ehawkessunw Eric Hawkes (Inactive)
            pallenba Peter Allenbach (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: