public ViewDrag(Overview parent, int mouseX, int mouseY) { this.parent = parent; this.x = this.initialX = mouseX; this.y = this.initialY = mouseY; }