/** * Constructs an empty ButtonBarBuilder2 on the given panel. * * @param panel the layout container */ public ButtonBarBuilder2(JPanel panel) { super(new FormLayout(COL_SPECS, ROW_SPECS), panel); leftToRight = LayoutStyle.getCurrent().isLeftToRightButtonOrder(); }
/** * Constructs an instance of <code>ButtonBarBuilder</code> on the given * panel using a preconfigured FormLayout as layout manager. * * @param panel the layout container */ public ButtonBarBuilder(JPanel panel) { super(new FormLayout(COL_SPECS, ROW_SPECS), panel); leftToRight = LayoutStyle.getCurrent().isLeftToRightButtonOrder(); }
/** * Constructs an instance of <code>ButtonBarBuilder</code> on the given * panel using a preconfigured FormLayout as layout manager. * * @param panel * the layout container */ public ButtonBarBuilder(JPanel panel) { super(new FormLayout(COL_SPECS, ROW_SPECS), panel); leftToRight = LayoutStyle.getCurrent().isLeftToRightButtonOrder(); }
/** * Constructs an empty ButtonBarBuilder2 on the given panel. * * @param panel the layout container */ public ButtonBarBuilder2(JPanel panel) { super(new FormLayout(COL_SPECS, ROW_SPECS), panel); leftToRight = LayoutStyle.getCurrent().isLeftToRightButtonOrder(); setOpaque(false); }