@Override public void mouseMove(int x, int y) { super.mouseMove(x, y); x -= bounds.x; y -= bounds.y; if (focus != null) { focus.mouseMove(x, y); } else { for (Widget child : children) { if (child.getBounds().contains(x, y)) { child.mouseMove(x, y); return; } } } }