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

MAWT: [zh_CN] standard button labels can not be displayed on FileDialog when encoding is UTF8

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.2_11
    • Fix Version/s: 7
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      solaris

      Backports

        Description

        OS: Tested in Solaris 10/11 x86
        Desktop: in both CDE and JDS
        bundle: j2sdk-1_4_2_11-ea-bin-b01-solaris-i586-21_oct_2005.sh
        locale and encoding: zh_CN.UTF8

        The text on buttons of standard AWT FileDilog can not be displayed. This problem only happens in zh_CN.utf-8, when encoding is gb2312 or others, the chinese text can be displayed on the FileDialog.

        Please see the attached image.

        The source code of the class which can reproduce the bug is also attached.
        JFrame1.java can be compiled and run in Solaris x86/x64 with jdk1.4.2_11, when clicking open and save buttons in the frame, the buttons in the popup standard AWT dialog do not contain text. This only happens in zh_CN.utf-8

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dcherepanov Dmitry Cherepanov
                  Reporter:
                  yhuang Yong Huang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: