Display.getSystemImage

Returns the matching standard platform image for the given constant, which should be one of the icon constants specified in class <code>SWT</code>. This image should not be free'd because it was allocated by the system, not the application. A value of <code>null</code> will be returned either if the supplied constant is not an SWT icon constant or if the platform does not define an image that corresponds to the constant.

@param id the SWT icon constant @return the corresponding image or <code>null</code>

@exception SWTException <ul> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> </ul>

@see SWT#ICON_ERROR @see SWT#ICON_INFORMATION @see SWT#ICON_QUESTION @see SWT#ICON_WARNING @see SWT#ICON_WORKING

@since 3.0

class Display
getSystemImage
(
int id
)

Meta