void setLocale(Locale locale)
locale- the locale to apply;
nullmeans apply no locale
IllegalStateException- if the task has started
RuntimeException- if an unrecoverable error occurred in a user-supplied component. The cause will be the error in user code.
IllegalStateException- if called more than once
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.