void () { Dimension size = getSize(); // Provide some indication of size if the stripe is hidden if (size.width == 0 && size.height == 0) { final Rectangle virtualBounds = (Rectangle) getClientProperty(VIRTUAL_BOUNDS); size = virtualBounds.getSize(); } doLayout(size); }