Component.getLocale
Class Overview | Class Members |
This Package |
All Packages
public Locale getLocale()
Returns
This component's locale. If this component does not
have a locale, the locale of its parent is returned.
Description
Gets the locale of this component.
Exceptions
IllegalComponentStateException
If the Component
does not have its own locale and has not yet been added to
a containment hierarchy such that the locale can be determined
from the containing parent.
See Also
setLocale