static bool mouseInComponent(Component c) { ret c != null && rectangleContains(boundsOnScreen(c), mousePosition()); }