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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 7
    • 1.4.2_11
    • client-libs
    • x86
    • solaris

        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

              dcherepanov Dmitry Cherepanov
              yhuang Yong Huang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: