Button button = new Button(shells [shellCount], SWT.PUSH); button.setBounds(20, 20, 100, 30);
	public void createButtonSelected(SelectionEvent event) {			/*		 * Remember the example shells so they		 * can be disposed by the user.		 */		if (shellCount >= shells.length) {			Shell [] newShells = new Shell [shells.length + 4];			System.arraycopy (shells, 0, newShells, 0, shells.length);			shells = newShells;		}			/* Compute the shell style */		int style = SWT.NONE;		if (noTrimButton.getSelection()) style |= SWT.NO_TRIM;		if (closeButton.getSelection()) style |= SWT.CLOSE;		if (titleButton.getSelection()) style |= SWT.TITLE;		if (minButton.getSelection()) style |= SWT.MIN;		if (maxButton.getSelection()) style |= SWT.MAX;		if (borderButton.getSelection()) style |= SWT.BORDER;		if (resizeButton.getSelection()) style |= SWT.RESIZE;		if (onTopButton.getSelection()) style |= SWT.ON_TOP;		if (modelessButton.getSelection()) style |= SWT.MODELESS;		if (primaryModalButton.getSelection()) style |= SWT.PRIMARY_MODAL;		if (applicationModalButton.getSelection()) style |= SWT.APPLICATION_MODAL;		if (systemModalButton.getSelection()) style |= SWT.SYSTEM_MODAL;			/* Create the shell with or without a parent */		if (noParentButton.getSelection ()) {			shells [shellCount] = new Shell (style);		} else {			Shell shell = tabFolderPage.getShell ();			shells [shellCount] = new Shell (shell, style);		}			/* Set the size, title and open the shell */		shells [shellCount].setSize (300, 100);		shells [shellCount].setText (ControlExample.getResourceString("Title") + shellCount);		shells [shellCount++].open ();	}