@@ -0,0 +1,1215 @@
+package com.arcologydesigns;%0A%0A/**%0A * Created by VZ9YFG on 9/2/2015.%0A */%0Aimport com.sun.deploy.net.proxy.DeployProxySelector;%0Aimport com.sun.deploy.services.PlatformType;%0Aimport com.sun.deploy.services.ServiceManager;%0Aimport org.apache.commons.logging.LogFactory;%0A%0A%0Apublic abstract class ExtendedProxyManager %7B%0A%0A   private static final org.apache.commons.logging.Log logger = LogFactory.getLog(ExtendedProxyManager.class);%0A%0A   /**%0A    * After calling this method, proxy settings can be magically retrieved from default browser settings.%0A    */%0A   public static boolean init() %7B%0A      logger.debug(%22Init started%22);%0A%0A      // Initialization code was taken from com.sun.deploy.ClientContainer:%0A      ServiceManager%0A              .setService(System.getProperty(%22os.name%22).toLowerCase().indexOf(%22windows%22) != -1 ? PlatformType.STANDALONE_TIGER_WIN32%0A                      : PlatformType.STANDALONE_TIGER_UNIX);%0A%0A      try %7B%0A         // This will call ProxySelector.setDefault():%0A         DeployProxySelector.reset();%0A      %7D catch (Throwable throwable) %7B%0A         logger.error(%22Unable to initialize extended dynamic browser proxy settings support.%22, throwable);%0A%0A         return false;%0A      %7D%0A%0A      return true;%0A   %7D%0A%7D%0A

Create ExtendedProxyManager.java