title: Print transaction status on TextArea
body: <p>I am developing a project which does the following :</p>
  
  <p>1.truncate a temporary table T1. </p>
  
  <p>2.insert some thousand rows into temporary table T1.</p>
  
  <p>3.Execute a procedure which has some commit statements in it.</p>
  
  <p>4.insert rows from table T1 to other identical table(with respect to structure) T2</p>
  
  <p>5.Execute 2 more procedures.</p>
  
  <p>Now i have made a swing UI which contains TextArea on which i want to print transaction status. Something like this</p>
  
  <p>Reading Excel File..
  Validating Excel File..
  inserting entries into table T1.. and so on</p>
  
  <p>I have made the following method to update status at each step.</p>
  
  <pre><code>public void updateStatus(String message){
          String temp = this.statusText.getText();
          this.statusText.setText(temp  + message +  "\n");
  }
  </code></pre>
  
  <p>Calling this method along with statements where i do</p>
  
  <p><code>log.debug(message)</code> does the job for me ! However this complicates my code design. Every DAO Component now depends on this method. Can anyone suggest me a better design option.</p>
  
  <p>Thanks in Advance !</p>