public void initProperties() {
		File dir = new File(Main.SETTINGS_DIRECTORY);
		File file = new File(Main.USER_PROPS);
		FileInputStream stream;

		if (!dir.exists())
			dir.mkdir();

		try {
			FileOutputStream fos = new FileOutputStream(new File(
					Main.USER_PROPS));

			props.setProperty("X", "400");
			props.setProperty("Y", "250");
			props.setProperty("width", "640");
			props.setProperty("height", "480");
			props.setProperty("tree", "true");

			props.store(fos, "properties");
		} catch (IOException e) {
		}
	}