tags:

views:

181

answers:

2

My computer is running behind proxy. I want to access url from JavaFX. for example say i want to show image from a url. But i haven't seen anyway to provide proxy settings for the connection(?). Please if someone can tell me how to do things in such situation? Thanks

+2  A: 

Setting proxy in Java/FX

Rastislav Komara
+1-Hey thanks may be this can be useful. will try it today!
Webbisshh
A: 

By default, JavaFX will automatically use your Operating Systems proxy settings, this is controlled via the Java Preferences or Java Control panel icons on your Mac or PC.

You can also set, within Java, the proxy environment variables, but I haven't tried this.

If you are trying to request an external resource from an unsigned application, Java may prompt you (the user) for permission when it runs.

Steven Herod