public ElementContainerFigure() {
setSize(200, 150);
setBorder(new LineBorder(1));
ScrollPane scrollpane = new ScrollPane();
pane = new FreeformLayer();
pane.setLayoutManager(new FreeformLayout());
setLayoutManager(new StackLayout());
add(scrollpane);
IFigure panel = new Layer();
FlowLayout flowLayout = new FlowLayout();
flowLayout.setMajorAlignment(FlowLayout.ALIGN_CENTER);