title: JTable doesn't refresh after adding new row
body: <p>I have a JTable inside a JScrollPane. After calling my function which should populate the table I can't see any changes! I'v tried with <code>table.repaint()</code>, <code>model.fireTableDataChanged()</code> and probably some other stuff that I can't remember anymore - nothing worked. What am I doing wrong??</p>
  
  <p>My function:</p>
  
  <pre><code>public static void fillVodicTable(JTable table){
  
      DefaultTableModel model=new DefaultTableModel(); //also tried (DefaultTableModel)table.getModel();
      table.setModel(model);
      model.setColumnIdentifiers(new String[]{"Ime", "Priimek", "Epošta", "Datum rojstva", "Licenca", "Jeziki"});
      String [] row={"a","b","c","d","e","f"};
  
      model.addRow(row);
  }
  </code></pre>