private static List<InputMethodDescriptor> loadIMDescriptors() {
String nm = SERVICES + InputMethodDescriptor.class.getName();
Enumeration<URL> en;
LinkedList<InputMethodDescriptor> imdList = new LinkedList<InputMethodDescriptor>();
// first add native IM descriptor(is always present)
NativeIM nativeIM = ContextStorage.getNativeIM();
imdList.add(nativeIM);
try {
en = ClassLoader.getSystemResources(nm);
ClassLoader cl = ClassLoader.getSystemClassLoader();
while (en.hasMoreElements()) {