Main.setProperty("window.state", Integer.toString(arg0 .getNewState()));
windowProperties.setProperty("window.state", Integer .toString(arg0.getNewState()));
			public void windowStateChanged(WindowEvent arg0) {				Main.setProperty("window.state", Integer.toString(arg0						.getNewState()));			}