public JComboBox<String> matchingComboBox(String roadName,String roadNumber,String consistNumber,String eng1Address,String eng2Address,String eng3Address,String eng4Address,String eng5Address,String eng6Address,String id){
  List<NceConsistRosterEntry> l=matchingList(roadName,roadNumber,consistNumber,eng1Address,eng2Address,eng3Address,eng4Address,eng5Address,eng6Address,id);
  JComboBox<String> b=new JComboBox<String>();
  for (int i=0; i < l.size(); i++) {
    NceConsistRosterEntry r=_list.get(i);
    b.addItem(r.titleString());
  }
  return b;
}

public JComboBox < String > matchingComboBox ( String roadName , String roadNumber , String consistNumber , String eng1Address , String eng2Address , String eng3Address , String eng4Address , String eng5Address , String eng6Address , String id ) { List < NceConsistRosterEntry > l = matchingList ( roadName , roadNumber , consistNumber , eng1Address , eng2Address , eng3Address , eng4Address , eng5Address , eng6Address , id ) ; JComboBox < String > b = new JComboBox < String > ( ) ; for ( int i = 0 ; i < l . size ( ) ; i ++ ) { NceConsistRosterEntry r = _list . get ( i ) ; b . addItem ( r . titleString ( ) ) ; } return b ; }
get a jcombobox representing the choices that match . there ' s 10 elements .
