Java Reference
In-Depth Information
p2
.
add
(
B4
);
cp
.
add
(
p2
);
pack
();
}
}
See Also
Other things may need to be internationalized as well:
Character comparisons
These are set separately on Unix/POSIX; on other operating systems, they depend on the
default
Locale
.
Date and time formats
See the Introduction to
Chapter 6
.
Number formats
Message insertions
These appear in different orders in different languages (something the C-language
Internationalization Caveats
Internationalizing your menus and buttons is only one step. You also need to internationalize
message text in dialogs as well as help files (see the JavaHelp API (see
Javadoc Versus
Some items, such as AWT
FileDialog
, use native components—their appearance depends
on the native operating system (your application can change its own default locale, but not
the system's; if your customer has a differently internationalized copy of the same OS, the
file dialogs will appear differently).