Now let's look at a simple example program using Message Facility for internationalization.
This example is a runnable class first print out then log a formatted message to the standard output stream.
The
YEAR_AGE
message defined at this simple example can be viewed and tested in a
webstarted
MsgViewer
window. You can test it in action by supplying arbitrary values for
its arguments.