if (!hovered) {
Graphics2D g2d = (Graphics2D) g;
Stroke old = g2d.getStroke();
g2d.setColor(BASELINE_COLOR);
g2d.setStroke(STROKE2);
GroupLayout layout = (GroupLayout) container.getLayout();
int width = container.getWidth();
int height = container.getHeight();
Insets insets = container.getInsets();
CompositeAdapter adapter = (CompositeAdapter) WidgetAdapter.getWidgetAdapter(container);
int count = adapter.getChildCount();
for (int i = 0; i < count; i++) {
Component child = adapter.getChild(i);
WidgetAdapter childAdapter = WidgetAdapter.getWidgetAdapter(child);
if (childAdapter.isSelected()) {
Constraints constraints = layout.getConstraints(child);
Alignment horizontal = constraints.getHorizontal();
int y = child.getY() + child.getHeight() / 2;
int x = 0;
if (horizontal instanceof Leading) {
x = ((Leading) horizontal).getLeading();