Login  Register

Re: JOGL in JAVAFX error with jnlp on mac only

Posted by valerie on Mar 20, 2017; 5:09pm
URL: https://forum.jogamp.org/JOGL-in-JAVAFX-error-with-jnlp-on-mac-only-tp4037797p4037803.html

jogl-application-version.jnlp is fine, no exception with this jnlp.
But is there an Animator in this program ?

I made some tests :
This jnlp show a rudimentary 3D : http://taesch.fr/jfx-jogl/jfx-jogl-light.jnlp
And this one do not show any 3D but the exception is still present in the logs : http://taesch.fr/jfx-jogl/jfx-jogl-soutonly.jnlp
I just put some System.out.println in my init, reshape and display methods.

Here my SwingNode implementation : https://we.tl/IXIzDBIzMn
JavaFX initialize my SwingNode in the fxml :
<GridPane xmlns:fx="http://javafx.com/fxml" fx:controller="com.booa.designer.controller.editionprojet.vue3d.Pane3DController">
    <Fenetre3DFX fx:id="fenetre3D" GridPane.hgrow="always" GridPane.vgrow="always"/>       
</GridPane>

I need to use java web start because I need to update my jar easily without having anything to do on the user computer.

Thanks for your help !