protected void createTitle(String title){
  String newTitle;
  newTitle="Weka " + new Version();
  if (title.length() != 0) {
    newTitle+=" - " + title;
  }
  setTitle(newTitle);
}

protected void createTitle ( String title ) { String newTitle ; newTitle = "Weka " + new Version ( ) ; if ( title . length ( ) != 0 ) { newTitle += " - " + title ; } setTitle ( newTitle ) ; }
creates and displays the title .
