Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

running javafx from java without jfx sdk installed  RSS feed

Andrey Kuzmenko
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!