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

Swing:Japanese characters can not be displayed with merlin b20

XMLWordPrintable

    • beta
    • generic, x86
    • generic
    • Verified


      Japanese characters can not be displayed on some of Swing componets
      with Merlin beta-b20, tested with on soalris 7 x86, solaris7 sparc, winNT, win98 and win95.

      This phenomenon occurs in the cases below;

      1. With Metal/Motif/Windows L&F
      JList

      2. With Motif/Windows L&F (with Metal Japanese characters are displayed properly)
      JRadioButton
      JTree
      JCheckBox
      BorderFactory

      3. With Metal L&F (with Motif/Windows L&F Japanese characters are displayed properly)
      DebugGraphics


      Test cases for JTree, DebugGraphics, JCheckBox and JList are attached (swing.zip).
      To reproduce,

      1. Extract swing.zip
      2. Compile all java source files.
      3. Run the cases below;
      JTreeTest
      JCheckBoxTest
      DebugGrapicsTest
      JListTest
      4. Change L&F accrding to the description above to reproduce the problem.


      ---miki.tokunaga@japan----------------------------------------------------------

      To reproduce,

      1. Launch SwingSet2 Demo on Windows Japanese. (jdk1.4/demo/jfc/SwingSet2/SwingSet2.jar)
      2. Click JColorChooserDemo
      3. Select Windows Look&Feel
      4. Click Background Button and color choose window appars.
      Then you can see Japanese characters are not displayed.

      miki.tokunaga@japan 2000-07-21

      -----------------------------------------------------------------------------

      Tested with merlin beta-28, the problem is not seen in Metal and Motif L&F.
      It is seen in only in Windows L&F.

      miki.tokunaga@japan 2000-08-30
      -----------------------------------------------------------------------------

            ehawkessunw Eric Hawkes (Inactive)
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: