layoutItems();
layoutButtons();
public void addCTabFolderListener(CTabFolderListener listener) {	checkWidget();	if (listener == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);	// add to array	CTabFolderListener[] newTabListeners = new CTabFolderListener[tabListeners.length + 1];	System.arraycopy(tabListeners, 0, newTabListeners, 0, tabListeners.length);	tabListeners = newTabListeners;	tabListeners[tabListeners.length - 1] = listener;	showClose = true;	layoutItems();}