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

A chinese display problem in some swing components

XMLWordPrintable

      hercule.li@prc 2001-01-10

      Locale : zh_CN
      Encoding : zh_CN.EUC and zh_CN.GBK

      There is a chinese display problem in some swing components
      like JLabel and JButton if we set font as "SanSerif"

      for example :
         Font baseFont = new Font("SanSerif", Font.BOLD, 12);

      This bug exists in merlin b46 , ladybird b13 and firefly b02,
      This bug exists in solaris , IA solaris and windows platform.

      The chinese display will be OK if we don't set Font .
      (use default only)

      Try attached file Labels.java to reproduce the bug.

      ------ end of hercule.li@prc 2001-01-10

            sherman Xueming Shen
            hlisunw Hercule Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: