public synchronized void clearScreenMessages(){
  talogging.setText("");
}

public synchronized void clearScreenMessages ( ) { talogging . setText ( "" ) ; }
clears only the messages that are displayed in the textarea .
