title: I need help using ProxySelector to detect Proxy settings
body: <p>I have created a Java Swing application. Some users can't connect to the internet when activating the application, checking program updates, etc. because they are using a Proxy.</p>
  
  <p>I have been reading about the interesting <a href="http://docs.oracle.com/javase/1.5.0/docs/guide/net/proxies.html" rel="nofollow">ProxySelector Class</a>. It is very nice, but i have some questions about it please :</p>
  
  <ol>
  <li><p>Will this class detect all types of Proxies that can be used(HTTP, HTTPS, FTP, SOCK,...) ?</p></li>
  <li><p>If the Proxy used needs authentication, will this class get its information automatically ?</p></li>
  <li><p>I have written code to get the Proxy settings used. Now i need to test this but i do not have a proxy, so i was going to set a proxy like the instructions <a href="http://www.linquist.net/geek/proxy" rel="nofollow">here</a>, but is there a faster method ? Can i use Public Proxies to test this like <a href="http://hidemyass.com" rel="nofollow">hidemyass.com</a> ?</p></li>
  </ol>