Display.getCurrent

Returns the display which the currently running thread is the user-interface thread for, or null if the currently running thread is not a user-interface thread for any display.

@return the current display

class Display
static
getCurrent
(
)

Meta