Examples of ScrolledComposite


Examples of org.eclipse.swt.custom.ScrolledComposite

      parent.setLayout(new FillLayout());
      Splitter splitter = new Splitter(parent, SWT.VERTICAL);
      Composite design = new Composite(splitter, SWT.NONE);
      splitter.setFirstControl(design);
      design.setLayout(new FillLayout());
      scrollPane = new ScrolledComposite(design, SWT.H_SCROLL | SWT.V_SCROLL);
      scrollPane.setExpandHorizontal(true);
      scrollPane.setExpandVertical(true);
      Composite designerContainer = new Composite(scrollPane, SWT.NONE);
      scrollPane.setContent(designerContainer);
      designerContainer.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_WHITE));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.