b.getStyle().setStyleProperty(BandStyleKeys.LAYOUT, BandStyleKeys.LAYOUT_TABLE);
b.getStyle().setStyleProperty(ElementStyleKeys.INVISIBLE_CONSUMES_SPACE, true);
b.getStyle().setStyleProperty(BandStyleKeys.TABLE_LAYOUT, tableLayout);
final StyleResolver resolver = new SimpleStyleResolver();
final ResolverStyleSheet resolverTarget = new ResolverStyleSheet();
resolver.resolve(b, resolverTarget);
b.setComputedStyle(new SimpleStyleSheet(resolverTarget));
return b;
}