Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 37936
    
  22
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: 37936
    
  22
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Writing foreign characters
 
Similar Threads
How to use 3DES algorithm
importing the contact list from a MS-Exchange Server
Displaying foreign characters
A question about jsp+javabean.
importing the contact list from a MS-Exchange server.