Пример #1
0
  /** Copy information from the input buffer to the dialog fields. */
  private void getData() {
    int i, c;

    for (i = 0; i < buffer.size(); i++) {
      Row row = (Row) buffer.get(i);

      for (c = 0; c < row.size(); c++) {
        Value v = row.getValue(c);
        String show;
        if (v.isNumeric()) show = v.toString(true);
        else show = v.toString(false);
        wFields.table.getItem(i).setText(c + 1, show);
      }
    }
    wFields.optWidth(true);
  }