public void windowClosing(java.awt.event.WindowEvent e) {
				getUserPreferences().setMaximazed(
						getFrame().getExtendedState() == Frame.MAXIMIZED_BOTH);
				try {
					getUserPreferences().savePreferences();
				} catch (Exception e1) {
					e1.printStackTrace();
				}
				getController().exit();
			}