Showing UNICODE characters in JTextArea

I need to show unicode characters in a JTextArea when it is typed from my keyboard.How can i do it.Give me an example, Please.Thanks
[160 byte] By [zinnureea] at [2007-11-27 6:06:58]
# 1
theTextArea.setText(someString);I assume your actual problem is not too related to the question you asked?
CeciNEstPasUnProgrammeura at 2007-7-12 16:23:27 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanks, but not in this way. It shows a predefined string.when a key is pressed i need to modify its keyCode to any other alphabet i like (Unicode).
zinnureea at 2007-7-12 16:23:27 > top of Java-index,Java Essentials,Java Programming...
# 3
Java String are stored as UNICODE code points. Not all fonts have glyphs for all UNICODE characters so you will need to set the Font of your display component to one that has all the glyphs you need.
sabre150a at 2007-7-12 16:23:27 > top of Java-index,Java Essentials,Java Programming...
# 4

I have done it (setting font) on a JLabel, and it works. The string was made with my unicode character values.

But, when i do the same thing(setting font), the font is selected ok. But, no string i can pass to be displayed, still nobody knows what key will be pressed from the key board...

I need to catch the key event, and modify the key value before it is shown on the area.

Thanks.

zinnureea at 2007-7-12 16:23:27 > top of Java-index,Java Essentials,Java Programming...
# 5
So you want to in some way map the keys pressed on your western keyboard to characters for a non-western keyboard. The question has to be - why are you doing this?
sabre150a at 2007-7-12 16:23:27 > top of Java-index,Java Essentials,Java Programming...
# 6
have you check this http://java.sun.com/javase/technologies/core/basic/intl/faq.jsp
suparenoa at 2007-7-12 16:23:27 > top of Java-index,Java Essentials,Java Programming...