This doesn't work properly.
Even if you put in the wrong IP / password / username, it'll still connect, so I'm assuming you're just connecting from your main IP regardless.
Evidence (turned echo on to show it):
I literally copy / pasted your code, changed the path to my Java, and then ran it, and it connected without any issues.
With normal proxies that don't require you to use a username / password, if you input the wrong info, it'll say offline for your client.