Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing foreign characters

 
Pradeep Kumar T
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a situation where I need to be able to display foreign characters (asian languages) in a text area in my program.
I have no idea on how to do this.

http://www.code2000.net/keybkann.htm

I need to produce something like this, using java Swing...

Can anyone please advice?
thanks a lot in advance!
[ May 16, 2007: Message edited by: Pradeep Kumar T ]
 
Campbell Ritchie
Sheriff
Pie
Posts: 50240
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch. You might have done better to ask on the Swing forum.

A JTextArea is not designed for displaying text, but for entering it. Look at the Unicode website for numbers for different scripts.
TrySee whether that works.

See whether anybody else has a better idea.
 
Campbell Ritchie
Sheriff
Pie
Posts: 50240
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried what I suggested and it didn't work. Sorry.
 
Pradeep Kumar T
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried the same what you suggested. anyway, thanks for the reply...I will post the question in Swing forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic