This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
My exposure to Swings have only been academic so do pardon me if this question is too lame. I have been working on a Unicode Text editor (for Hindi). I also hacked the Notepad application and was able to display all Menu/Toolbar items in Hindi. I am also now able to open a Hindi UTF file and see the Hindi text in JTextArea properly. I am also able to save any UTF text pasted from another application. What I have no clue about is how can one type in Hindi in the JTextArea. How will I map the keystrokes correponding with required Hindi Unicode characters etc? For eg.if I press K (and assuming that the key K has been mapped with /u0915) Hindi character "ka" must be inserted in the JTextArea. Any guidelines and links would be appreciated. [ April 28, 2004: Message edited by: Debashish Chakrabarty ]
I also edited a relevant article that Naoto wrote for The Swing Connection -- Using Input Methods on the Java Platform. Naoto recently updated this article for release 1.5 -- it will probably be released on the javadesktop.org website. Sharon Zakhour