The latest version of JME3 using LWJGL2, because LWJGL3 is an experimental feature, so you can’t use my version of JFX. Please, use the original version.
True. I literally confused . Coz i spend much time to test GUI frameworks and understand what exactly fits better to my project and still not sure about that. And now i see pretty same (i thought ) bridges to my favorite FX and still can’t use it because of can’t understand how to configure my POM. So shame… Sry for wasting ur time and again thank u for all replies and helps.
Hi again! First results of using David’s library is cool. I can simply use HUD screens and dynamically change tham in runtime. Looks like root JavaFX Node is transparent by deafult and it is ok, coz we want see JME Scene under it. Now i have to step forward and my current task is “link JME Node and FXMLHud to show some info about this node”. Any advices appreciated
HI guys, I’ve been following this for a while but never really saw any reason to jump ship from nifty. Is there a “demo video” anywhere that shows some of the JavaFX specific features or implementations?
If you are happy with nifty, stay with it no reason to change it then
Especially if you work jfx in day job or similar jfx has a few benefits as it has a quite richer support of features (eg image formats, webbrowser ect) however it has the limitation to only work on desktop. It runs in a second thread, so the jme framerate is not affected at all by the complexity of the ui, however there is a higher static cost due to required buffer copying.
Hy there,
One short question about the JmeFXContainer and GUIManager:
I can get the EmbeddedWindow from the JmeFXContainer.with guiManager.getjmeFXContainer().getStage();
When i do a cast to (Stage)guiManager.getjmeFXContainer().getStage();
It fails as it says its no Stage object.
How can i get my FX-Stage out of that jmeFXContainer ?
Thanks in advance,
Härry
There is no real Stage in the integration, as no real window does exist. What you can get is the integration interface that does a similar role.
What are you trying to do?
Starting from java 11, JavaFX will not be included as part of JRE, it will be like an external library, which developers can use as maven/gradle dependency. So, I think javaFX will be more relevant GUI framework for jME in near future.
Also, I’m going to continue supporting integration javaFX with jME
I think working on integration is much easier when you work with a library instead a part of SDK especially when we talk about internal classes. Also, now we have github mirror of openJFX where you can offer your PR’s