title: create a thread that will write each character typed using keyboard
body: <p>I am trying to create a <strong><code>thread</code></strong> that will create a <code>text file</code> and will write each and every character typed on computer using key listener but i am not getting how do i append the created file with next character that user will enter.....might be i am confusing everyone but i just want to store each and every character that user will type (through keyboard)</p>
  
  <p>Its like whenever i execute my application it will create an file and start writing the <strong><code>keychar</code></strong> into that file.</p>