• Post Reply Bookmark Topic Watch Topic
  • New Topic

Returning data from an object  RSS feed

 
Thomas Moul
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know this is a really basic question, but I'm having problems with it anyway. I have a main program that calls out a separate little JDialog form that has fields the user needs to fill in. What I then want to do is have the JDialog part return the data to the main object when the ok button is pressed. I'm not sure how to do this without creating a loop that is constantly checking on it. Thanks for any help.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does this help?
 
Thomas Moul
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like that might be the answer. I'm still playing around with the ideas to see if I can make them fit my program, but thanks a lot!!!
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!