public static String readTextFromJar(String s) {
        InputStream is = null;
        BufferedReader br = null;
        String line;
        String list="";
        try {
          is = misc.class.getResourceAsStream(s);
          br = new BufferedReader(new InputStreamReader(is));
          while (null != (line = br.readLine())) {
             list+=line+"\n";
          }
        }
        catch (Exception e) {
          System.err.println("Error");
        }
        finally {
          try {
            if (br != null) br.close();
            if (is != null) is.close();
          }
          catch (IOException e) {
            System.err.println("Error");
          }
        }
        return list;
      }