public void windowStateChanged(WindowEvent e) {
				int state = e.getNewState();
				if(state == NORMAL) Constants.MAXIMIZED = false;
				else if((state & MAXIMIZED_BOTH) == MAXIMIZED_BOTH) Constants.MAXIMIZED = true;
			}