title: Monitor changes to a collection
body: <p>Say you have the following java bean:</p>
  
  <pre><code>public class MyBean
  {
      private List&lt;String&gt; names = new ArrayList&lt;String&gt;();
  
      public void addName(String name)
      {
          names.add(name);
          fireNamesPropertyChange(name);
      }
  }
  </code></pre>
  
  <p>How would you normally implement a property change event for a collection? Do you try and use the index property which seems to be more for arrays than collections?</p>