title: How do I change the title of a tab in a tabbedpanel in Apache Wicket?
body: <p>I have a TabbedPanel in which I dynamically add and remove tabs. In addition I want to change the title of a tab according to its changing contents. In my current code the title is set by the Wicket ID like:</p>
  
  <pre><code>public class GenericTab extends AjaxTab {
  private boolean closable = true;
  
  public GenericTab( MyAbstractPanel myPanel ) {
      super( Model.of( myPanel.getTitle() ) );
  }
  </code></pre>
  
  <p>So I can set the title once at instantiation. How can I change it with Java code?</p>