public void ftm_tableChanged(TableModelEvent e) { int sum = 0; for (RowContainer c : filevector) { sum += c.getPages(); } this.jLabel2.setText(Integer.toString(sum)); }
public String getStringreprasentation() { StringBuffer sb = new StringBuffer(); Vector<RowContainer> vec = getFilevector(); for (RowContainer c : vec) { sb.append(c.getFile().getAbsolutePath()).append('\n'); } return sb.toString(); }