private void clearDisplay(Graphics g, Rectangle rect) {
		Color backgroundColor = backgroundColorModel.getDefaultBackgroundColor();
		g.setColor(backgroundColor);
		g.fillRect(rect.x, rect.y, rect.width, rect.height);
	}
Returns the offset of the cursor from the top of the screen

@return the offset of the cursor from the top of the screen
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java