Hi,
 We have written some small test cases to display some Hindi characters in
AWT componetnts. We are working on JDK1.1.7 on Windows NT4.0.
 But we are unable to display those characters. We are using unicode
TrueType font. We have written one text case. i.e.

import java.awt.*;
import java.util.*;

public class test {
 public static void main(String[] s)
 {
 java.awt.TextField tf = new java.awt.TextField("");
 tf.setLocale(new Locale("hi","IN"))
 tf.setFont(new Font("Devanagari MT Test",Font.PLAIN,14));
 Frame f = new Frame();
 f.add(tf);
 tf.setText("\u0905");
 f.resize(200,200);
 f.setVisible(true);
 }
}

 The above program suppose to display the Hindi ( Indian National Luanguage )
character. I have created font.properties.hi_IN file and had put it in
lib directory. I don't know the exact reason why it's not displaying
those character.

Any help is really appreciable.

Thanks in Advance
Raju

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to