Components and Internationalization

The JDK includes support for internationalization; however, complete coverage of internationalization is beyond the scope of Graphic Java— none of the internationalization support resides in the java.awt package or its subpackages.

On the other hand, all AWT components have a Locale associated with them, so we'll take the time to briefly discuss the implications of that, and at the same time provide you with an applet that internationalizes an extremely simple graphical user interface (GUI). We will give you enough of an overview of internationalization so that you will be able to effectively internationalize a more complex user interface.

Locales

As you can see from “java.awt.Component Properties Modifiable ...

Get Graphic Java™ 1.2, Volume I: AWT, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.