void (final int insets) { Integer oldInsets = (Integer)myRootContainer.getDelegee().getClientProperty(GridLayoutManager.DESIGN_TIME_INSETS); if (oldInsets == null || oldInsets.intValue() != insets) { myRootContainer.getDelegee().putClientProperty(GridLayoutManager.DESIGN_TIME_INSETS, insets); revalidateRecursive(myRootContainer.getDelegee()); } }