refresh a jTable from another window! i tried this many times with different types like calling a fire method or calling your model again a simple code will be like this using it with an event like a bush button:
private void btn_add_updtActionPerformed(java.awt.event.ActionEvent evt) {
ItemsForm form = new ItemsForm();
//this:
form.mymodel();
//or this:
form.model.fireTableDataChanged();
//or this:
form.model.fireTableStructureChanged();
}
all of them refresh the the table.. but the problem it open another window so i got tow windows opend the new one is refreshed the old is not.. and why i got another window without calling it?