|
Replies:
8
-
Last Post:
May 9, 2008 10:08 AM
by: bhamail
|
|
|
|
|
|
|
Pure Java IME / Input Method
Posted:
Feb 25, 2008 2:13 PM
|
|
|
Sorry if this is the wrong place to ask...and please tell me where to go. 
I'm looking for a Pure Java Input Method library (initially just to support Spanish).
Using native Windows IME's has proven problematic due to behavior differences across Windows versions.
Can anyone suggest a solution? A place to look?
Thanks, Dan Rollo
|
|
|
|
|
|
|
Re: Pure Java IME / Input Method
Posted:
Feb 27, 2008 6:29 PM
in response to: bhamail
|
|
|
What are you trying to do? Just allow the user to type Spanish in a JText Field? Java supports different input languages if you change the windows control panels to allow input of non-English characters. I've seen Korean and Hebew in Java. You might have issues with Windows Language packs.
|
|
|
|
|
|
|
|
Re: Pure Java IME / Input Method
Posted:
Feb 27, 2008 6:41 PM
in response to: occasionalui
|
|
|
The main thing I'm trying to do is to avoid any dependence on Windows features or Windows setup. I'm aware of the native Windows IME/Keyboard LangPack features, but they vary too much from Win OS version to Win OS version.
All I need to do is make sure the font I use can display the characters for the Locale used by a java IME and I should be good to go.
So yes, basically, I just need a pure java IME to allow the input of characters not available on the standard English keyboard, but I don't want the user to have to mess with any Windows configuration at all.
|
|
|
|
|
|
|
|
Re: Pure Java IME / Input Method
Posted:
Feb 27, 2008 7:36 PM
in response to: bhamail
|
|
|
In JDK, there is a sample input method called 'CodePointIM', which is a pure Java input method and enables you to input any character using '\uXXXX' Unicode escape form.
HTH. Naoto
|
|
|
|
|
|
|
|
Re: Pure Java IME / Input Method
Posted:
Feb 27, 2008 8:50 PM
in response to: njs
|
|
|
Thanks for the pointer Naoto, but I'm really hoping to find an IME with a nice popup window and such (so the user need not know the Unicode values of chracters).
|
|
|
|
|
|
|
|
Re: Pure Java IME / Input Method
Posted:
Feb 28, 2008 3:48 AM
in response to: bhamail
|
|
|
Google is your friend, though you have to know the right keywords .
|
|
|
|
|
|
|
|
Re: Pure Java IME / Input Method
Posted:
Feb 28, 2008 4:52 PM
in response to: walterln
|
|
|
Yes, I have searched via google, but I'm not really looking for a character map.
An IME (Input Method Editor) for a specific Locale typically does not require the user to enter Unicode sequences. The JCharMap link you mention would certainly be helpful if I were trying to write an IME from scratch, but that's exactly what I'm trying to avoid doing by asking if anyone knows of any Pure Java IME's already in existence.
I did find the following:
http://sourceforge.net/projects/jgim
But it appears there's not been much activity on it in a while. Still wondering if there are any other existing IME libs out there that I could use. Worst case, I can always try to revive jgim...
Other suggestions?
|
|
|
|
|
|
|
|
Re: Pure Java IME / Input Method
Posted:
May 9, 2008 3:16 AM
in response to: bhamail
|
|
|
have a look at neoeime.sf.net but it's not support Spanish ime.
|
|
|
|
|
|
|
|
Re: Pure Java IME / Input Method
Posted:
May 9, 2008 10:08 AM
in response to: neoedmund
|
|
|
Very cool! Thanks!
The bad news is I'm moving on to another job, but I'll pass this link on to the folks that might need it. For the Spanish IME, it was decided to go with a simple button based approach, but there may still be a need to someday replace some native Japanese and Chinese IME's with pure java, so this could still be a big help!
Dan
|
|
|
|
|