if (isGrouped) {
groupExtents.add(new GroupExtent(group, groupRect.y, groupRect.y + groupRect.height));
if (showGroupNames) {
//Rectangle displayableRect = getDisplayableRect(groupRect, visibleRect);
group.renderName(graphics2D, displayableRect, group == selectedGroup);
}
}
if (group.isDrawBorder()) {
g.drawLine(0, regionY, getWidth(), regionY);