createColumnsFromModel();
createDefaultColumnsFromModel();
  public void tableChanged (TableModelEvent event)  {    // update the column model from the table model if the structure has    // changed and the flag autoCreateColumnsFromModel is set    if ((event.getFirstRow() ==TableModelEvent.HEADER_ROW)        && autoCreateColumnsFromModel)        createColumnsFromModel();    repaint();  }