size

The current size of the dialog, a width/height pair in pixels.

Reading returns a detached copy, matching java.awt.Component.getSize semantics; resize the dialog by assigning a new value here or by setting width and height individually.

See also