• Post Reply Bookmark Topic Watch Topic
  • New Topic

Parent and child form in java  RSS feed

 
John Fernandas
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to make Parent Form wait when Child Form is loaded. When Child Form close, the Parent Form will continue its task.
 
Tina Smith
Ranch Hand
Posts: 208
9
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set the child form up as a dialog, so extend JDialog instead of JFrame. If I remember correctly, showing a dialog window is a blocking task on the parent.
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John, please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/awt-swing/55931-parent-child-form-java-swing.html

And what was your point in copying old forum posts, not Java related, verbatim?

(2009) http://forum.codecall.net/c-programming/20734-make-parent-form-stop-when-child-form-loaded.html
(Last month) http://www.devkingdom.com/forum/c-sharp/17680/make-parent-form-stop-when-child-form-is-loaded.html

edit I see you cross posted your earlier question about 4 JTextFields to half a dozen other sites. Please tell us whenever you do this.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!