Previous | Next | Trail Map | Writing Global Programs | Table of Contents

Writing Global Programs

by Mary Campione

The lessons in this trail teach you what you need to know to write global Java programs (Java programs that tailor themselves to the user's customs and language).

Note: The internationalization features documented in this trail were added to the JDK for its 1.1 release. Thus the code examples in the following lessons will only work in browsers or viewers that support JDK 1.1. If your browser does not support JDK 1.1 applets, you can use the appletviewer program that ships with JDK 1.1 to run the program.

Internationalization? Localization? Arg! describes a global program and defines terminology such as localization and internationalization. Additionally, this lesson describes the problems you face when writing locale-sensitve programs. This lesson then lists and briefly describes the new features of the JDK 1.1 that can help you overcome these problems and write truly global programs.

Locale-Sensitive Data describes what you need to do to organize and manage locale-sensitive data in your programs. In addition, this lesson talks about formatting data such as dates, numbers, and messages in a locale-sensitive way. This lesson contains information that every programmer should know about writing global programs.

Internationalizing an Existing Program: Step by Step walks you through the process of internationalizing an existing program using what you learned in the previous lesson. The applet to be treated is the WordMatch applet originally written by Pat Chan.
Note: Feel free to skip this lesson if you are writing a Java program from scratch. It doesn't contain any new information...just a different approach to the information presented to this point.

Collation and Text Boundaries is still under construction, but we do have two demo programs from Taligent that illustrate the collation and text boundary features of the JDK 1.1.

Previous | Next | Trail Map | Writing Global Programs | Table of Contents