private static void createToolbar(final Shell shell) {
		final ToolBar toolBar = new ToolBar(shell, SWT.None);
		for (int i = 0; i < 8; i++) {
			ToolItem item = new ToolItem(toolBar, SWT.PUSH);
			item.setText("Item " + i);
		}
		/*
		 * shell.addListener(SWT.Resize, new Listener() { public void handleEvent(Event e) { Rectangle rect = shell.getClientArea(); Point size = toolBar.computeSize(rect.width,
		 * SWT.DEFAULT); ///toolBar.setSize(size); } });
		 */
		Rectangle clientArea = shell.getClientArea();
		toolBar.setLocation(clientArea.x, clientArea.y);
		toolBar.computeSize(clientArea.width, SWT.DEFAULT);
		// toolBar.pack();
	}