Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Application.setCurrentLocale

Sets the locale for the current thread.

Syntax

public static void setCurrentLocale( Locale locale )

Parameters

locale

A Locale object that represents the new locale for the current thread.

Remarks

To change the locale information for the current thread, use the setCurrentLocale method and provide it with a Locale object. The locale information allows a thread to determine the language, currency, and date system to use in an application. To retrieve the thread's current locale setting, use the getCurrentLocale method.