class Control { int x,y,w,h; boolean over = false; String label; Control(int x, int y, int w, int h, String label) { this.x = x; this.y = y; this.w = w; this.h = h; this.label = label; } boolean mouseIn() { return over = mouseX>x&&mouseXy&&mouseY