-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
None
-
beta2
-
sparc
-
solaris_8
run following test csse in ar locale, a squarebox is displayed at the end
of text. (the original test case FontTest.java is attached to reproduce the
problem in iw locale)
import java.awt.*;
import javax.swing.*;
import java.util.Locale;
public class Test3 extends JFrame {
private static String testString = Locale.getDefault().getDisplayLanguage();
Test3() {
super("Test3");
JTextField jtf = new JTextField(testString);
Container container = getContentPane();
container.setLayout(new BorderLayout());
container.add(jtf, BorderLayout.CENTER);
setSize(getPreferredSize());
pack();
setVisible(true);
}
public static void main(String[] args) {
System.err.println("Locale: " + Locale.getDefault().toString());
System.err.println("file.encoding: " + System.getProperty("file.encoding"));
Test3 test3 = new Test3();
}
}
of text. (the original test case FontTest.java is attached to reproduce the
problem in iw locale)
import java.awt.*;
import javax.swing.*;
import java.util.Locale;
public class Test3 extends JFrame {
private static String testString = Locale.getDefault().getDisplayLanguage();
Test3() {
super("Test3");
JTextField jtf = new JTextField(testString);
Container container = getContentPane();
container.setLayout(new BorderLayout());
container.add(jtf, BorderLayout.CENTER);
setSize(getPreferredSize());
pack();
setVisible(true);
}
public static void main(String[] args) {
System.err.println("Locale: " + Locale.getDefault().toString());
System.err.println("file.encoding: " + System.getProperty("file.encoding"));
Test3 test3 = new Test3();
}
}
- duplicates
-
JDK-4346689 Arabic text is not rendered. Problem in JTextFields.
-
- Closed
-
-
JDK-4346690 Hebrew text is not rendered.
-
- Closed
-
- relates to
-
JDK-8320079 The ArabicBox.java test has no control buttons
-
- Resolved
-