Getting a parent frame


I have a JGo application that uses a JGoOverview, JGoPalette, and JGoView on a Java JApplet.

In the JGoView there are a number of MiltiLineNodes where a MultiLineNode is a subclass of a MultiTextNode. I have set up a doMouseDblClick method in the MultiLineNode that launches a modal JDialog and I want to get the parent frame for the MultiLineNode (that is in the JGoView, which is in its turn inside the JApplet) so that I can center the JDialog on its parent JApplet.

So far I haven’t been able to achieve this. Would somebody please help me?

I don’t think there is supposed to be any Frame for an Applet.

I suggest you search the web for how to implement some alternative way of positioning the JDialog.