void saveProperty()
	{
		try {		
			URL url = getClass().getClassLoader().getResource("resources/conf.properties");
			FileOutputStream fos = new FileOutputStream(url.getPath());
			// Setting a key=value pair
			/*String version = conf.getProperty("VERSION");
			String support_language = conf.getProperty("LANG");
            String dir = conf.getProperty("APA_DIR");
            String ip = conf.getProperty("SERVER_IP");
            String lang = conf.getProperty("SEL_LANG");*/
            
			String str="";
			str = (String)apacheDirectory.getText();			
			if(str != null && !str.equals(""))
			{
				String smileDir= str + mainWindow.dir_name2save;  // .../apacheDir/SMILE
				File f = new File (smileDir);
				if (f.exists()) {
					conf.setProperty("APA_DIR", str);
				}				
			}
			
			str = (String)serverIP.getSelectedItem();
			if(str != null && !str.equals(""))
				conf.setProperty("SERVER_IP", str);
			
			str = (String)spinner1.getSelectedItem();
			if(str != null && !str.equals(""))
				conf.setProperty("SEL_LANG", str);
			
			//conf.setProperty("LANG", support_language);
			//conf.setProperty("VERSION", version);
			conf.store(fos, "SMILE configuration data");
			fos.close();
		} catch(IOException e) {
		    e.printStackTrace();
		}
	}