Please include an option on NetBeans to disable "JavaFX-Feature-Proxy".
My standalone application takes many seconds to start because of proxy detection, but I don't need any proxy detection.
When I am running the application from NetBeans it starts normally, but when I run it outside NetBeans, from a jar file, it takes many seconds to start. Can someone tell me why that happens?
One way to disable proxy setup by the embedded JavaFX launcher is to pass "-Djavafx.autoproxy.disable=true" on the command line. This is good for troubleshooting (proxy detection may cause significant startup time increases if network is misconfigured) but not really user friendly.
Now proxy setup will be disabled if manifest of main application jar has "JavaFX-Feature-Proxy" entry with value "None".
Attaching link to JIRA issue. Probably a patch candidate.
Reported JavaFX issue:
fixed in jetmain
A "Disable proxy detection" checkbox has been added to Deployment panel under Project Properties.
Integrated into 'main-golden', will be available in build *201303152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Petr Somol <email@example.com>
Log: #224680 - Option to disable JavaFX-Feature-Proxy