item.addItemListener( listener );
add( item );
}
if( frame != null ){
frameCollector = new ComponentCollector(){
public Collection<Component> listComponents(){
List<Component> result = new ArrayList<Component>();
result.add( frame );
return result;
}