title.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e) {
GC gc = e.gc;
gc.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));
gc.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));
gc.fillGradientRectangle(0, -9, title.getClientArea().width, title.getClientArea().height - 2, true);
gc.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW));
gc.setLineWidth(1);
gc.drawLine(0, title.getClientArea().height - 2, title.getClientArea().width, title.getClientArea().height - 2);
gc.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));
gc.drawLine(0, title.getClientArea().height - 1, title.getClientArea().width, title.getClientArea().height - 1);