hi camickr well,
which happens is that I can call from a Jframe that in my case is my menu to JDialog, but I have disadvantages in calling a JDialog from the same JDialog
this is part Jframe code
.
.
.
public void actionPerformed(java.awt.event.ActionEvent e) {
if( (e.getSource() == itemRegCustomer) || ( e.getSource() == btnRegCustomer) )
regCustomer();
}
public void regCustomer(){
// RegCustomer is JDialogand constructor in (this, true)
RegCustomer regCus = new RegCustomer(this,true) ;
regCus.setVisible(true);
}
//here constructor JDialog
DocCustomer(new javax.swing.JFrame(), true).setVisible(true);
Very well of this form I call a JDialog from a JFrame but my doubt is since I call a JDialog or another JDialog and a JDialog since it would call a JFrame
Thank you in advance!