Multilingual Text Editing in Java 2

John Raley - IBM Corporation

Intended Audience: Software Engineer, Systems Analyst
Session Level: Intermediate, Advanced

The Complex Text APIs in the Java2 platform enable clients to display and interact with text in visually complex scripts, such as bidirectional scripts or scripts in which the character-to-glyph mapping is not one-to-one. These APIs are easy to use for simple tasks, but also enable more advanced clients, such as text editors. Additionally, the Complex Text implementation is being enhanced with more scripts and features; clients using the Complex Text APIs can take advantage of these enhancements without modification.

This tutorial focuses on how to use the Complex Text APIs in a full-featured, multilingual text editor. Concrete scenarios are presented for working with tab-delimited segments on a line, representing styled text, working with host clipboards and text files, efficient display updating, mouse and keyboard support, and other topics. Code samples are taken from the IBM RichEdit control, a pure-Java multilingual text editor.

When the world wants to talk, it speaks Unicode
Unicode Standard Program Conference Board WWW9 Talks and Papers Past Conferences
Showcase Registration Accommodation Travel Sponsors Next Conference
International Unicode Conferences are organized by Global Meeting Services, Inc., (GMS). GMS is pleased to be able to offer the International Unicode Conferences under an exclusive license granted by the Unicode Consortium. All responsibility for conference finances and operations is borne by GMS. The independent conference board serves solely at the pleasure of GMS and is composed of volunteers active in Unicode and in international software development. All inquiries regarding International Unicode Conferences should be addressed to info@global-conference.com.

Unicode and the Unicode logo are registered trademarks of Unicode, Inc. Used with permission.

31 October 1999, Webmaster