About this task
By default, the Desktop uses the default locale of the machine on
which it is running and the properties file that it uses is in the same path
as the resources used by the Desktop classes. If you need to use a different
locale or the properties file for the locale is not in path for the Desktop
resources, initialize the Desktop as shown in the following example:
Desktop desktop= new Desktop("c:\\myResources\\");
desktop.setDesktopLocale(locale);
desktop.main(null);
In the example, c:\\myResources\\ is the
path to the localization resources and locale is the locale
used by the Desktop.