Searched defs:newLocale (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/java/beans/beancontext/
H A DBeanContextSupport.java715 * @param newLocale the new locale. This method call will have
716 * no effect if newLocale is <CODE>null</CODE>.
719 public synchronized void setLocale(Locale newLocale) throws PropertyVetoException { argument
721 if ((locale != null && !locale.equals(newLocale)) && newLocale != null) {
724 fireVetoableChange("locale", old, newLocale); // throws
726 locale = newLocale;
728 firePropertyChange("locale", old, newLocale);
/openjdk7/jdk/src/share/classes/java/util/
H A DLocale.java862 * @throws NullPointerException if <code>newLocale</code> is null
863 * @param newLocale the new default locale
867 public static synchronized void setDefault(Locale newLocale) { argument
868 setDefault(Category.DISPLAY, newLocale);
869 setDefault(Category.FORMAT, newLocale);
870 defaultLocale = newLocale;
892 * @param newLocale - the new default locale
895 * @throws NullPointerException - if category and/or newLocale is null
902 Locale newLocale) {
905 if (newLocale
901 setDefault(Locale.Category category, Locale newLocale) argument
[all...]

Completed in 37 milliseconds