/** * Gets the rectangle where the title component has been placed with the border panel. * * @return a rectangle where the the title component has been placed. */ public Rectangle getTitleBounds() { return (label != null) ? label.getBounds() : null; }