void (ComponentEvent e) { removeComponentListener(this); myMacDirtySizeHack = null; int width = getWidth(); int height = getHeight(); if (width != this.width || height != this.height) { LOG.warn("The size of the dialog '" + getTitle() + "' has changed after showing, " + "set width = " + this.width + ", height = " + this.height + ", " + "now width = " + width + ", height = " + height + ", " + "resetting it back"); setSize(this.width, this.height); } }