The usages of new Image(device, width, height) for the graphics examples in SWT should be replaced according to https://github.com/vi-eclipse/Eclipse-Platform/issues/188.