}
private void drawBackground(Graphics g) {
if (this.parentContainer != null) {
Shape shape = this.getNeededSize();
shape = shape.modifyCenter(this.parentContainer
.getPositionFor(this).add(
new Vector(shape.getXRange(), shape.getYRange())
.div(2.0f)));
GraphicUtils.fill(g, shape, this.backgroundColor);
}