class ScalableLienzoPanel extends DelegateLienzoPanel<StunnerLienzoBoundsPanel> {

    @PostConstruct
    public void init() {
        panel.setPanelBuilder((width, height) -> {
            if (width.isPresent() && height.isPresent()) {
                return new ScalablePanel(StunnerBoundsProviderFactory.newProvider(),
                                         width.getAsInt(),
                                         height.getAsInt());
            }
            return new ScalablePanel(StunnerBoundsProviderFactory.newProvider());
        });
    }

    @Inject public  ScalableLienzoPanel(final StunnerLienzoBoundsPanel panel);

}