super.setLayout(new ViewFormLayout());
public ViewForm(Composite parent, int style) {	super(parent, checkStyle(style));		setBorderVisible((style & SWT.BORDER) != 0);		Listener listener = new Listener() {		public void handleEvent(Event e) {			switch (e.type) {				case SWT.Dispose: onDispose(); break;				case SWT.Paint: onPaint(e.gc); break;				case SWT.Resize: onResize(); break;			}		}	};		int[] events = new int[] {SWT.Dispose, SWT.Paint, SWT.Resize};		for (int i = 0; i < events.length; i++) {		addListener(events[i], listener);	}}