public void writeLogln(String logdata){
  writeLog(logdata + System.getProperty("line.separator"));
}

public void writeLogln ( String logdata ) { writeLog ( logdata + System . getProperty ( "line.separator" ) ) ; }
write to the history dialog window and append a newline character after the text
