I have a jframe (parent) which creates an input frame (child) where I get some parameter.
In the "child" frame I have "ok" and "cancel" buttons.
When "ok" button is pressed, the parent frame needs to be updated with new data.
What is the best way to do that??