public String getDecodedPath(){
		
		
		File f = null;
		
		try {
			
			String path = MainFrame.class.getProtectionDomain().getCodeSource().getLocation().getPath();
			f =  new File(path);
			//JOptionPane.showMessageDialog(this, f.getCanonicalPath());
			//JOptionPane.showMessageDialog(this, f.getPath());
			//JOptionPane.showMessageDialog(this, f.getAbsolutePath());
			//f = new File(this.getClass().getProtectionDomain().getCodeSource().getLocation().toURI());

		} catch (Exception e1) {
			JOptionPane.showMessageDialog(this, e1.getStackTrace());
			// TODO Auto-generated catch block
			e1.printStackTrace();
			f=new File("c:\\");
		}

		String s = "";
		try {
			s = f.getCanonicalPath();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return s;
		
		
		/*
		String path = this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath();
		String decodedPath = "";
		try {
			decodedPath = URLDecoder.decode(path, "UTF-8");
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		JOptionPane.showMessageDialog(this, decodedPath);
		return decodedPath;
		*/
	}