Advertisement

02.22.2007 at 01:11AM PST, ID: 22405743
[x]
Attachment Details

refresh the parent swing  Form from the child form ......using java swing

Asked by moodyahmad in Java AWT & Swing, NetBeans IDE, Java Editors & IDEs

Tags: java, swing, form, parent, child

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
[+][-]02.22.2007 at 08:28AM PST, ID: 18589016

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java AWT & Swing, NetBeans IDE, Java Editors & IDEs
Tags: java, swing, form, parent, child
Sign Up Now!
Solution Provided By: mayankeagle
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03.19.2007 at 09:38AM PDT, ID: 18749391

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03.24.2007 at 08:26PM PDT, ID: 18787179

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32