code: public void setTitle(Session session) {
  		StringBuilder strBuilder = new StringBuilder();
  		if (session != null) {
  			strBuilder.append(session.getSessionName()).append(" - ");
  			if (!session.isNewState()) {
  				File file = new File(session.getFileName());
  				strBuilder.append(file.getName().replaceAll(".session\\z", "")).append(" - ");
  			}
  		}
  		strBuilder.append(Constant.PROGRAM_NAME).append(' ').append(Constant.PROGRAM_VERSION);
  		super.setTitle(strBuilder.toString());
  	}
docs: Sets the title of the main window.
  <p>
  The actual title set is the current session name, then the filename of the session (if persisted),
  followed by the program name and version.
  
  @param session the {@code Session} from which the window title is being built
  
  @see Constant#PROGRAM_NAME
  @see Constant#PROGRAM_VERSION
  @since 2.7.0