void (final int idx, final int cell, final int span, final RadContainer grid) { final RadHSpacer component = new RadHSpacer(null, Integer.toString(idx)); component.getConstraints().restore(new GridConstraints(idx, cell, 1, span, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, 0,0,null,null,null, 0)); grid.addComponent(component); }