}
InputMethod next = recent.get(locale);
if (next != null)
for (int i = 0, limit = descriptors.size(); i < limit; i++)
{
InputMethodDescriptor d = descriptors.get(i);
Locale[] list;
try
{
list = d.getAvailableLocales();
}
catch (AWTException ignored)
{
continue;
}
for (int j = list.length; --j >= 0; )
if (locale.equals(list[j]))
{
try
{
next = d.createInputMethod();
recent.put(locale, next);
}
catch (Exception ignored)
{
continue;