private void openMIDletUrl(String urlString, MIDletClassLoader midletClassLoader) throws IOException { try { setStatusBar("Loading..."); jad.clear(); if (urlString.toLowerCase().endsWith(".jad")) { Logger.debug("openJad", urlString); jad = loadJadProperties(urlString); loadJar(urlString, jad.getJarURL(), midletClassLoader); } else { jad.setCorrectedJarURL(urlString); loadJar(null, urlString, midletClassLoader); } Config.getUrlsMRU().push(new MidletURLReference(jad.getSuiteName(), urlString)); } catch (MalformedURLException ex) { throw ex; } catch (ClassNotFoundException ex) { Logger.error(ex); throw new IOException(ex.getMessage()); } catch (FileNotFoundException ex) { Message.error("File Not found", urlString, ex); } catch (NullPointerException ex) { Logger.error("Cannot open jad", urlString, ex); } catch (IllegalArgumentException ex) { Logger.error("Cannot open jad", urlString, ex); } }