Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners JDialog return value to JDialog ????
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


fernando paiva
JDialog return value to JDialog ????
0 Answer(s)      4 years ago
Posted in : Java Beginners


hello all....

legend. JD1 = JDialog1 JD2 = JDialog2

JD1 open JD2......JD2 has any values, how I return this values to JD1 ???

[code]
       // JD1 open JD2
       JD2 jd2 = new JD2(null, true);
       jd2.setVisible(true);

       //now I need that JD2 return a value to JD1     
[/code]

JD2 make a search and save the result in a JLabel ...I need return this result on JLabel to JD1. Please show me a how to or example.

thanks !


Advertisement
View Answers

Related Tutorials/Questions & Answers:
 

 

 

DMCA.com