g.drawString(text, origin.x, origin.y + textView.baseLine());
}
}
@Override
protected void relayoutImpl() {
<BUG>super.relayoutImpl();
myView.validate();
Rectangle bounds = myView.bounds().get();</BUG>
myX = bounds.origin.x;
myY = bounds.dimension.y;

g.drawString(text, origin.x, origin.y + textView.baseLine());
}
}
@Override
protected void relayoutImpl() {
super.relayoutImpl();
if(myView instanceof DiagramView) {
myView.validate();
}
Rectangle bounds = myView.bounds().get();
myX = bounds.origin.x;
myY = bounds.dimension.y;
