footer.addListener(SWT.Paint, new Listener() {
public void handleEvent(Event arg0) {
GC gc = new GC(footer);
gc.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));
gc.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));
gc.fillGradientRectangle(0, -9, footer.getClientArea().width, footer.getClientArea().height, true);
gc.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW));
gc.setLineWidth(1);
gc.drawLine(0, 1, footer.getClientArea().width, 1);
gc.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW));
gc.drawLine(0, 2, footer.getClientArea().width, 2);