private void loadFile() {

		try {
			String cd = System.getProperty("user.dir") + "/files/";
			System.out.println(cd);
			textPane.setPage("File:///" + cd + "test.html");
		} catch (IOException ex) {
			Logger.getLogger(TextPaneExample.class.getName()).log(Level.SEVERE, null, ex);
		}
	}