예제 #1
0
  void refreshInfo() {
    destLabel.setText(account.getPathName());

    int count = 0;

    for (ImportTransaction tran : transactions) {
      if (tran.getState() == ImportState.NEW || tran.getState() == ImportState.NOT_EQUAL) { //
        count++;
      }
    }

    transCount.setText(Integer.toString(count));
  }
예제 #2
0
 private void updateTitle(final Account account) {
   setTitle("jGnash - " + account.getPathName());
 }