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

On Motif toolkit, UI created by java.awt.FileDialog is not translated to appropriate locale

XMLWordPrintable

    • x86, sparc
    • linux, solaris_2.5.1

      OPERATING SYSTEM(S):
      --------------------
      Linux IA32 on RHEL 4


      STEPS TO REPRODUCE
      ------------------

      1. export LANG=ja_JP

      2. Run the sample code in MToolkit:

         $ AWT_TOOLKIT=MToolkit java FileDialogTest

      You will see the FileDialog is still created in english and not in Japanese locale as expected.


      TESTCASE SOURCE
      ---------------

      import java.awt.*;

      public class FileDialogTest{
          public static void main(String argv[]){
              Frame frame = new Frame();
              FileDialog f = new FileDialog(frame, "FileDialog Test");
              f.setVisible(true);
          }
      }

            Unassigned Unassigned
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: