private void saveData() {
		BufferedWriter write = null;
		try{
			File outfile = new File("D:\\search.ini");
			write = new BufferedWriter(new FileWriter(outfile));
			write.write(field.getText());
			write.newLine();
			write.flush();
			write.write(addressField.getText());
			write.newLine();
			write.flush();
			write.write(portField.getText());
			write.newLine();
			write.flush();
			write.write(userField.getText());
			write.newLine();
			write.flush();
			write.write(passwordField.getPassword());
			write.newLine();
			write.flush();
		}
		catch(Exception e){
			System.out.println(e);
		}
		finally{
			try {
				write.close();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}
	}