Retrieves the height, in pixels, of the normal caption area of a window.
public static final int getCaptionHeight()
Returns an integer value that represents the height of the caption area of a window.
Use the getCaptionHeight method to determine the size of the standard window caption. You can also perform special display operations or add a caption button to the caption of a window.
See Also getCaptionButtonSize