question: private void add ( final JLabel label , final JTextField field ) { panel . add ( label ) ; panel . add ( field ) ; if ( previous == null ) { layout . putConstraint ( SpringLayout . NORTH , panel , - SPACING , SpringLayout . NORTH , label ) ; } else { layout . putConstraint ( SpringLayout . NORTH , label , SPACING , SpringLayout . SOUTH , previous ) ; } layout . putConstraint ( SpringLayout . WEST , panel , - SPACING , SpringLayout . WEST , label ) ; layout . putConstraint ( SpringLayout . SOUTH , panel , SPACING , SpringLayout . SOUTH , label ) ; layout . putConstraint ( SpringLayout . EAST , field , - SPACING , SpringLayout . EAST , panel ) ; layout . putConstraint ( SpringLayout . WEST , field , - ( TEXT_FIELD_WIDTH + SPACING ) , SpringLayout . EAST , panel ) ; layout . putConstraint ( SpringLayout . SOUTH , field , SPACING , SpringLayout . SOUTH , label ) ; previous = label ; }
target:  Adds a label and a field combination.