void displayText(String text){
  sdf=new SimpleDateFormat("yyyy-MM-dd_HH-mm-ss");
  dt=new Date();
  textArea.appendText(sdf.format(dt) + ">>" + text+ "\n");
}

void displayText ( String text ) { sdf = new SimpleDateFormat ( "yyyy-MM-dd_HH-mm-ss" ) ; dt = new Date ( ) ; textArea . appendText ( sdf . format ( dt ) + ">>" + text + "\n" ) ; }
display the txt on the textarea in the server
