code: private void updateTitle() {
  		String title;
  
  		if (this.getCurrentComponent() == null) {
  			title = "Example Picker";
  		} else {
  			title = this.getCurrentComponent().getClass().getName();
  		}
  
  		WApplication app = WebUtilities.getAncestorOfClass(WApplication.class, this);
  
  		if (app != null) {
  			app.setTitle(title);
  		}
  	}
docs: Updates the title, based on the selected example.