GetFrameExample -- follows the containment hierarchy up to find a component's parent frame and uses that frame to create a dialog.

Experiment:



The source.