public synchronized void setWindowPosition(int x, int y) {
		
		if (this.visible == false) {
			throw new MinuetoWindowInvalidStateException("Window is invisible");
		}
		
		if(this.isClosed()) {
			throw new MinuetoWindowInvalidStateException("Window is closed!");
		}
		
		if ( x < 0 )
			throw new MinuetoOutOfBoundException(x, 0, 999999);
		if ( y < 0 )
			throw new MinuetoOutOfBoundException(y, 0, 999999);
		
		this.jFrame.setLocation(x, y);
	}