Package java.util
Class Locale

Public Method setDefault

static void setDefault(Locale newLocale)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Sets the default locale for this instance of the Java Virtual Machine. The Java Virtual Machine sets the default locale during startup based on the host environment.

Example

   Locale loc = new Locale("de","AT","vienna");
   Logger.log("" + loc.getDefault());
   loc.setDefault(loc);
   Logger.log("" + loc.getDefault());

The example above sets up a new default value for the Locale.