Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parent window notification

 
Duane Riech
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a child window which modifies a record
displayed by the parent window ( in a JTable). I
would like to post an event to notify the parent
when the child window is closed so the parent could update the JTable data.
Is there an event that the child can post to notify the parent when the child window closes??

Thanks in advance
 
Layne Lund
Ranch Hand
Posts: 3061
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the parent window can implement WindowListener and the correct method that is triggered when a window closes. Then when the parent creates the child, it should register itself as a WindowListener to said child.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic