SWT Full screen

The best way to achieve this is to open a shell and fill the screen :

	Shell shell = new Shell(SWT.NO_TRIM | SWT.ON_TOP);
	shell.setLayout(new FillLayout());
	shell.setBounds(Display.getDefault().getPrimaryMonitor().getBounds());

This works great on Win32 and Linux. On OSX, you can’t get rid of the dock and the menu bar. See : this bug report on Eclipse bugzilla.