/** * Creates the new instance. * * @param parent * the parent composite * @param style * the style to use */ public SharedScrolledComposite(Composite parent, int style) { super(parent, style); addListener(SWT.Resize, e -> { if (!ignoreResizes) { scheduleReflow(false); } }); initializeScrollBars(); }