@Override
				public void mouseMoved( MouseEvent e ) {
					// adding location of pick window is necessary for secondary screens
					lastX = e.getX() + getX();
					lastY = e.getY() + getY();

					// get color at mouse location
					// (temporary change opacity to zero to get correct color from robot)
					float oldOpacity = getOpacity();
					setOpacity( 0 );
					if( SystemInfo.isMacOS )
						robot.delay( 20 ); // give macOS some time to update the opacity
					Color color = robot.getPixelColor( lastX, lastY );
					setOpacity( oldOpacity );

					hover( color );
					magnifier.update( lastX, lastY, color );
				}
An invisible window used to receive mouse and keyboard events for the whole screen.
flatlaf-theme-editor/src/main/java/com/formdev/flatlaf/themeeditor/FlatColorPipette.java