Obtaining Proxy Settings in Swing

Hi all,

I am using Internet through Proxy URL and port through my corporate LAN. I want to make a small Swing Application to connect to Internet and retrive some info.

How do I write code to obtain the proxy URL and port number from the user at run time to connect to the internet?

Alternatively I must be able to use a PAC url to obtain the same. Is the second option possible?

[403 byte] By [exhilaratora] at [2007-10-2 5:26:23]
# 1
U can put it your proxy properties for your proxy by useSystem.setProperty(proxy.http,your proxy);I think Thaton jer 1.5Thier is a package help u
ghhd_7a at 2007-7-16 1:28:10 > top of Java-index,Administration Tools,Sun Connection...