Point (final RadComponent[] components) { LOG.assertTrue(components.length > 0); final Point point = new Point(Integer.MIN_VALUE, Integer.MIN_VALUE); for (final RadComponent component : components) { point.x = Math.max(component.getX() + component.getWidth(), point.x); point.y = Math.max(component.getY() + component.getHeight(), point.y); } return point; }