Ejemplo n.º 1
0
  private void buildList() {
    Vector<String> params = new Vector<String>();
    OpenDataFile of = (OpenDataFile) mFileViewer.mOpenFiles.currElement();
    Section sech = (Section) of.mSections.currElement();
    for (int i = 0; i < sech.getNumStnVars(); i++) {
      params.addElement(sech.getStnVar(i));
    }

    if (mList == null) {
      mList = new JOAJList(params);
    } else {
      mList.setListData(params);
      mList.invalidate();
    }
  }