Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6990983

refactor applyBrowserSettings so it dosn't have to call up to java to display dialogs

XMLWordPrintable

      The Platform method applyBrowserSettings, calls back to Config.java to display success and Error dialogs, causing extra code in COnfig that is generally unneeded except in Java Control Panel.

      We can remove the following abstract methods from Config:
      setSuccessShownm(), and getSuccessShown(), setApplyButton(), and getApplyButton().
      and the following static methods:
      showIExplorerErrorDialog(), showMozillaErrorDialog(), showJPISettingsErrorDialog(),
      showSuccessDialog(), showJPISettingsSuccessDialog(), and showAlertDialog()
      can all be moved inline into the Java Control Panel.

      What we need is a return value from applyBrowserSettings to indicate what dialog (if any) to show

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: