private URL getResource(String urls) {
    URL url = this.getClass().getResource(urls);
    if (url == null) try {
      url = new URL(getCodeBase().toString() + urls);
    } catch (Exception e) {}
    return url;
  }