- 
    Type:
Bug
 - 
    Resolution: Fixed
 - 
    Priority:
  P2                     
     - 
    Affects Version/s: 1.2.0
 - 
    Component/s: client-libs
 
- 
        1.2beta
 - 
        generic
 - 
        solaris_2.5.1
 - 
        Not verified
 
                    In Japanese locale run the attached sample code, you will find the 
TextArea fails to display Japanese string, and no IM bar attached.
import java.awt.*;
import java.awt.event.*;
import java.util.*;
public class sample {
public static void main(String args[]) {
new sample().run();
}
Frame fp;
TextArea ta;
TextField tf;
void run() {
String st = new String("ÃæÔ¢¡¡¤«¤¿¤«¤¤");
fp = new Frame("Test");
fp.setLayout(new BorderLayout());
//fp.add("South", tf = new TextField());
fp.add("Center", ta = new TextArea());
ta.setText(st);
//tf.setFont(new Font("Monospaced", Font.BOLD, 14));
fp.pack();
fp.show();
}
}
~
            
TextArea fails to display Japanese string, and no IM bar attached.
import java.awt.*;
import java.awt.event.*;
import java.util.*;
public class sample {
public static void main(String args[]) {
new sample().run();
}
Frame fp;
TextArea ta;
TextField tf;
void run() {
String st = new String("ÃæÔ¢¡¡¤«¤¿¤«¤¤");
fp = new Frame("Test");
fp.setLayout(new BorderLayout());
//fp.add("South", tf = new TextField());
fp.add("Center", ta = new TextArea());
ta.setText(st);
//tf.setFont(new Font("Monospaced", Font.BOLD, 14));
fp.pack();
fp.show();
}
}
~
- relates to
 - 
                    
JDK-4103579 JDK1.2b2(win32) TextArea and TextField do not support non-English
-         
     - Closed
 
 -         
 - 
                    
JDK-4096710 TextArea.getText () method fails to return MultiCharsetString
-         
     - Closed
 
 -