running javafx from java without jfx sdk installed
posted 7 years ago
I need to run jfx application on client's computer(without jfx sdk installation and outside the browser) from a java code.
I also need to path parameters from java to javafx and to get return value.
What i did:
1) put a.html, a_browser.jnlp and a.jar files on the server.
2 )run javafx application from java by swt.browser.setUrl(server address/a.html) To pass parameter:
I know single option to pass parameter - create a1.html, a2.html ... an.html for each possible parameter value and javafx will read this parameter by FX.getArgument("parameter"). This solution is ok in my case. But i don't know how to return value back to java.