anmaxp
09-13-2004, 11:42 PM
hello all,
i've been googl'ing all afternoon and found no/little help on this matter, im developing a java app that connects to a mysql dbase, and i want the user to input the user/pass/hostname/dbasename through a dialog box, using JDialog :
public class connectdb extends JDialog
{
...
}
anyways there are 4 JTextFields, one for each of the fields described above, now how on earth do I pass the info on each of these textfields back to the parent Frame ?
I need to use them on the parent frame for dbase connection and not on the dialog box...
i've been googl'ing all afternoon and found no/little help on this matter, im developing a java app that connects to a mysql dbase, and i want the user to input the user/pass/hostname/dbasename through a dialog box, using JDialog :
public class connectdb extends JDialog
{
...
}
anyways there are 4 JTextFields, one for each of the fields described above, now how on earth do I pass the info on each of these textfields back to the parent Frame ?
I need to use them on the parent frame for dbase connection and not on the dialog box...