1.5 Querying the Display
Widgets provide the method getDisplay() that is used to query the Display.
getDisplay() Answers the display where the widget was created.
Display is such an important class in SWT that every widget knows on which Display it was created. Display is described in full detail in the chapter Display.