@Override
    public int getPreferredGap(JComponent component1, JComponent component2,
            ComponentPlacement type, int position, Container parent) {
        if (type == ComponentPlacement.INDENT) {
            return 2 * defaultLayoutStyle.getPreferredGap(component1, component2,
                    ComponentPlacement.UNRELATED, position, parent);
        } else {
            return defaultLayoutStyle.getPreferredGap(
                    component1, component2, type, position, parent);
        }
    }