Ejemplo n.º 1
0
  public void updateInfo() {
    try {
      for (int i = 0; i < 2; i++) {
        for (Iterator t = committee.getReport().iterator(); t.hasNext(); ) {
          if (t.next() instanceof String) {
          } else {
            for (Iterator d = ((ArrayList) t.next()).iterator(); d.hasNext(); ) {
              jTextArea1.setText(jTextArea1.getText() + "\n" + (String) d.next());
            }
          }
        }
      }
      for (int i = 2; i < 6; i++) {
        jTextArea1.setText(jTextArea1.getText() + "\n" + (String) committee.getReport().get(i));
      }

    } catch (Exception e) {
      e.printStackTrace();
    }
  }