Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

JTextArea for inputting Chinese?

Thread view: 
Murphy Wong - 12 May 2006 11:30 GMT
Hi all,

Is there any other class similar to JTextArea available for inputting
Chinese characters?  Thanks.

REgards,
Murphy
Thomas Fritsch - 12 May 2006 13:46 GMT
> Hi all,
>
[quoted text clipped - 3 lines]
> REgards,
> Murphy

As far as I know (and I don't know much here) you use the same Swing and
AWT classes in a Chinese Java environment as you do in an English
environment. The difference is that Java then uses a Chinese input
method for translating from keyboard to text. See "Input Methods
Framework" <http://java.sun.com/j2se/1.4.2/docs/guide/imf/index.html>
for more info.

In the "<JRE_directory>/lib/im" directory of my Java installation I find
2 files: "indicim.jar" and "thaiim.jar" (containing the input methods
for Indic and Thai). I guess a far-east Java installation will have some
more jar files there (for Chinese, Japanese, Korean).

Signature

"Thomas:Fritsch$ops:de".replace(':','.').replace('$','@')

Oliver Wong - 12 May 2006 15:57 GMT
>> Hi all,
>>
[quoted text clipped - 9 lines]
> for translating from keyboard to text. See "Input Methods Framework"
> <http://java.sun.com/j2se/1.4.2/docs/guide/imf/index.html> for more info.

   Also, you don't have to do anything special in the Java code if the
input method is done by the OS (e.g. via Windows XP's IME subsystem). As of
2005, every time I see someone use a Japanese application, they use Windows
XP's built in IME system, rather than an input method system built into the
application.

   Back in the 90s, when Windows 3.1 and 95 were the norm, I *did* see
people use input methods built into the application for entering Chinese
text, but I suspect that it's no longer done that way anymore.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.