/** @see java.awt.im.spi.InputMethodDescriptor#getInputMethodDisplayName */ public synchronized String getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage) { String name = "System Input Methods"; if (Locale.getDefault().equals(displayLanguage)) { name = Toolkit.getProperty("AWT.HostInputMethodDisplayName", name); } return name; }
static Object[] getAvailableLocalesInternal() { List workList = nativeGetAvailableLocales(); if (workList != null) { return workList.toArray(); } return new Object[] {Locale.getDefault()}; }