Window::getWidth() Syntax Java Return Window::getWidth() Retrieves the width of the current window. Syntax Java .getWidth() Return int getWidth()