• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 1. Widget Fundamentals > Querying the Display

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.

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint