Hello all, Could anybody give me some example code of entering a username and password of a proxy server? I need to access Internet from my swing application, but my proxy server requires a username and password. How do I put them in my program? I've found out that it can be done with Authentication and PasswordAuthentication classes, but I don't know how to use them. TIA.