private static boolean isLocationInScreenBounds(Point location) {

		GraphicsDevice[] graphicsDevices = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices();

		for (int j = 0; j < graphicsDevices.length; j++) {

			if (graphicsDevices[j].getDefaultConfiguration().getBounds().contains(location)) {

				return true;
			}
		}
		return false;
	}