aspose file tools*
The moose likes Java in General and the fly likes Writing foreign characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Writing foreign characters" Watch "Writing foreign characters" New topic
Author

Writing foreign characters

Pradeep Kumar T
Greenhorn

Joined: Apr 14, 2007
Posts: 12
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

Joined: Oct 13, 2005
Posts: 39436
    
  28
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

Joined: Oct 13, 2005
Posts: 39436
    
  28
I tried what I suggested and it didn't work. Sorry.
Pradeep Kumar T
Greenhorn

Joined: Apr 14, 2007
Posts: 12
I tried the same what you suggested. anyway, thanks for the reply...I will post the question in Swing forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Writing foreign characters