void print(String s, int tId)
  {
    int index = transactionPane.indexOfTab(String.valueOf(tId));
    if (index > -1) {
      OutputArea oa = (OutputArea)transactionPane.getComponentAt(index);
      oa.print(s);
    }
  }