Avoid using Display.getDefault() where possible. It can cause problems on win32. Use StatusManager or ask the workbench for the display (PlatformUI.getWorkbench().getDisplay()). Generally I'd frown upon getting the display that way but it's better than Display.getDefault().