Most of us work in offices where a proxy server setup.
So our build process, documentation, searches everything goes through the proxy server.
Proxy settings can be set on bot Eclipse and NetBeans.
On eclipse on preferences you choose General>Network Connections.
You set active provider on manual and you edit the http and https properties (proxy server, username,password). Also keep in mind to hit clear for the socks proxy entry.
After that you just need a restart.
On maven where you have to download your dependencies you can set up your proxy settings there too.
You can just edit your ~/.m2/settings.xml
and inside the settings tag add