/** * Adds a fixed size component. * * @param component the component to add */ public void addFixed(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); add(component); nextRow(); }
/** * Adds a fixed size component. * * @param component * the component to add */ public void addFixed(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); add(component); nextRow(); }
/** * Adds a fixed size component. * * @param component the component to add */ public void addFixed(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); add(component); nextRow(); }
/** * Adds a gridded component. * * @param component the component to add */ public void addGridded(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); getLayout().addGroupedRow(getRow()); component.putClientProperty(NARROW_KEY, Boolean.TRUE); add(component); nextRow(); }
/** * Adds a gridded component. * * @param component * the component to add */ public void addGridded(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); getLayout().addGroupedRow(getRow()); component.putClientProperty(NARROW_KEY, Boolean.TRUE); add(component); nextRow(); }
/** * Adds a gridded component. * * @param component the component to add */ public void addGridded(JComponent component) { getLayout().appendRow(FormFactory.PREF_ROWSPEC); getLayout().addGroupedRow(getRow()); component.putClientProperty(NARROW_KEY, Boolean.TRUE); add(component); nextRow(); }