code: public static Display getStandardDisplay() {
  		Display display;
  		display= Display.getCurrent();
  		if (display == null)
  			display= Display.getDefault();
  		return display;
  	}
docs: Returns the standard display to be used. The method first checks, if
  the thread calling this method has an associated display. If so, this
  display is returned. Otherwise the method returns the default display.
  @return returns the standard display to be used