FileDocCategorySizeDatePackage
SashFormTest.javaAPI DocAzureus 3.0.3.41722Fri Dec 01 11:49:42 GMT 2006org.gudy.azureus2.ui.swt.test

SashFormTest

public class SashFormTest extends Object
author
TuxPaper
created
Dec 1, 2006

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		Display display = Display.getDefault();

		Shell shell = new Shell(display, SWT.SHELL_TRIM);
		shell.setLayout(new FillLayout());

		SashForm sf = new SashForm(shell, SWT.VERTICAL);
		sf.SASH_WIDTH = 10;
		sf.setLayout(new FillLayout());
		
		new Composite(sf, SWT.BORDER);
		new Composite(sf, SWT.BORDER);
		
		shell.open();

		while (!shell.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}