/** * Returns the panel used to build the form. * * @return the panel used by this builder to build the form */ public final JPanel getPanel() { return getContainer(); }
/** * Returns the panel used to build the form. * * @return the panel used by this builder to build the form */ public final JPanel getPanel() { return (JPanel) getContainer(); }
/** * Adds a component to the container using the default cell constraints. * Note that when building from left to right, this method won't adjust * the cell constraints if the column span is larger than 1. * * @param component the component to add * @return the added component */ protected final Component add(Component component) { getContainer().add(component, currentCellConstraints); return component; }