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

AWT component(Button,Label,Checkbox...) can not display JIS0212 on Windows

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_98, windows_nt

      Description

      Tested with jdk1.3.1 ea_b07 on Windows98 and WindowsNT.

      Some AWT compornent like "Button" "Label" "Checkbox" "Radiobutton" and "TextFiled" can not display JIS0212 characters on Windows.
      However, Graphics.drawString can display JIS0212 on Windows.

      This problem occurs on only Winodws.

      To reproduce:
      1. Compile attached program, CharView.java FontView.java
      2. execute CharView
      3. Input 4e00 in input area.
      4. Select one of "Button" "Label" "Checkbox" "Radiobutton" "TextFiled", except Graphics.drawString.
      5. Select one of "Serif" "SansSerif" "Monospaced" "Dialog" "Dialoginput"
      6. Select one of "Plain" "Bold" "Italic" "BoldIatalic"

      The result:
      JIS0212 characters like \u4e02. \u4e04, \u4e05, \u4e12 are not displayed.

      <java version>
      java version "1.3.1ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1ea-b07)
      Java HotSpot(TM) Client VM (build 1.3.1ea-b07, mixed mode)

        Attachments

          Activity

            People

            Assignee:
            nlindenbsunw Norbert Lindenberg (Inactive)
            Reporter:
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: