title: How to add row MyTableModel created AbstractTableModel from JavaDerby
body: <p>I have datas in JavaDerby database.I can not add row my table model which is created by AbstractTableModel.What is wrong.</p>
  
  <p>MyTableModel class</p>
  
  <pre><code>public class MyTableModel extends AbstractTableModel{
  
  private Vector str;
  .....other codes......
  public void AddingRow(Object[] row){
      str.add(row);
      fireTableRowsInserted(str.size() - 1, str.size() - 1);
  }
  }
  </code></pre>
  
  <p>My Result class</p>
  
  <pre><code>public class Results {
    public static void myresult(){
      Object[] row=new Object[11];
      rs=stm.executeQuery(sqlResult); // I can connect to database        
      MyTableModel model=new MyTableModel();
      while (rs.next()){
           for (int v=1;v&lt;12;v++)
           {
            row[v-1]=rs.getObject(v); 
            }
           model.AddingRow(row);
      }
      rs.close(); 
  }
  }
  </code></pre>
  
  <p>Where I make mistakes. Thank for your help.</p>