private JPanel buildRow(final String string,final JCheckBox checkBox){
  final JPanel panel=new JPanel(new BorderLayout());
  panel.add(new JLabel(string),BorderLayout.WEST);
  panel.add(checkBox,BorderLayout.EAST);
  checkBox.addItemListener(m_checkBoxListener);
  return panel;
}

private JPanel buildRow ( final String string , final JCheckBox checkBox ) { final JPanel panel = new JPanel ( new BorderLayout ( ) ) ; panel . add ( new JLabel ( string ) , BorderLayout . WEST ) ; panel . add ( checkBox , BorderLayout . EAST ) ; checkBox . addItemListener ( m_checkBoxListener ) ; return panel ; }
builds a checkbox row .
