hi experts
i have a Form contain a JTable that retrieve the data from the database when this form be loaded , and fill the JTable , in this form also i have a "ADD" button when you press this button a new windows Form will appear have a text boxes , when you fill the text boxes in this Form and press "insert " button , a new row will added to the table from the database , but this row do not appear in the parent form unless i close the parent form and open this form again .
the question is , how i can insert a row to the database from the Child Form and when i press save the child form will be closed , and the row will appear in the JTable in the parent form directly .
thank you
Start Free Trial