title: implement ObservableList, extend ObservableListWrapper
body: <p>I want to create a class that is almost identical to the object returned by <code>FXCollections.observableArrayList()</code> but with some extra functionality. My first thought was something like</p>
  
  <pre><code>public class MyObservableList implements ObservableList
  {
      private ObservableList list = FXCollections.observableArrayList();
  
      public functionWhatever()
      {
          // whatever
      }
  
  }
  </code></pre>
  
  <p>but that means overriding the ~30 functions that come with <code>ObservableList</code> (which seems like a hint that I'm doing something wrong).</p>
  
  <p><code>FXCollections.observableArrayList()</code> returns an object of type <code>com.sun.javafx.collections.ObservableListWrapper</code>, but when I extend <code>ObservableListWrapper</code> I'm required to create a constructor like</p>
  
  <pre><code>MyObservableList( List arg0 )
  </code></pre>
  
  <p>or</p>
  
  <pre><code>MyObservableList( List arg0, Callback arg1 )
  </code></pre>
  
  <p>which worries me because <code>FXCollections.observableArrayList()</code> doesn't accept any arguments.</p>
  
  <p>I don't know how <code>FXCollections</code> creates the <code>ObservableListWrapper</code> object that it returns but I want <code>MyObservableList</code> to be identical to the object returned by <code>FXCollections</code> (plus a couple extra functions).</p>
  
  <p>How do I do this?</p>