target = this.trimMargin(target);
if (this.backgroundPaint != null) {
g2.setBackground(this.backgroundPaint);
g2.fillRectangle(target);
}
final BlockFrame border = this.getFrame();
border.draw(g2, target);
border.getInsets().trim(target);
BlockContainer container = this.wrapper;
if (container == null) {
container = this.items;
}
target = this.trimPadding(target);