public void fillComboBox(boolean restore){
  if (restore && m_tempData != null) {
    Object obj=m_selectedObject;
    p_data.clear();
    p_data=new ArrayList<Object>(m_tempData.length);
    for (int i=0; i < m_tempData.length; i++)     p_data.add(m_tempData[i]);
    m_tempData=null;
    if (obj == null && p_data.size() > 0)     obj=p_data.get(0);
    setSelectedItem(obj);
    fireContentsChanged(this,0,p_data.size());
    return;
  }
  if (p_data != null)   fillComboBox(isMandatory(),true,true,false);
}

public void fillComboBox ( boolean restore ) { if ( restore && m_tempData != null ) { Object obj = m_selectedObject ; p_data . clear ( ) ; p_data = new ArrayList < Object > ( m_tempData . length ) ; for ( int i = 0 ; i < m_tempData . length ; i ++ ) p_data . add ( m_tempData [ i ] ) ; m_tempData = null ; if ( obj == null && p_data . size ( ) > 0 ) obj = p_data . get ( 0 ) ; setSelectedItem ( obj ) ; fireContentsChanged ( this , 0 , p_data . size ( ) ) ; return ; } if ( p_data != null ) fillComboBox ( isMandatory ( ) , true , true , false ) ; }
fill combobox with old saved data ( if exists ) or all data available
