/** * Creates a modal dialog box with a title. * * @param owner * the frame within which this dialog will be displayed and centred. * @param jets3tHomeDirectory */ private PreferencesDialog(CockpitPreferences cockpitPreferences, Frame owner, HyperlinkActivatedListener hyperlinkListener) { super(owner, "Cockpit Preferences", true); this.cockpitPreferences = cockpitPreferences; this.ownerFrame = owner; this.hyperlinkListener = hyperlinkListener; this.initGui(); }
/** * Creates a modal dialog box with a title. * * @param owner * the frame within which this dialog will be displayed and centred. * @param jets3tHomeDirectory */ private PreferencesDialog(CockpitPreferences cockpitPreferences, Frame owner, HyperlinkActivatedListener hyperlinkListener) { super(owner, "Cockpit Preferences", true); this.cockpitPreferences = cockpitPreferences; this.ownerFrame = owner; this.hyperlinkListener = hyperlinkListener; this.initGui(); }