question: 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 ; }
target:  Builds a checkbox row.