Re: Jogl and JavaFX
Posted by Sweck on Apr 02, 2020; 9:14pm
URL: https://forum.jogamp.org/Jogl-and-JavaFX-tp4040468p4040499.html
@gouessej
Thank you very much!
@DamagedTiberius
The viewport gets set in reshape and reshape gets called when the window opens.
The code works fine when I use GLCanvas and a Jframe as I told you before but I tested it with GLJPanel and JFrame and I get the same problem. When I use GLJPanel the object shows for a millisecond and than disappears completely. It has to do something with gljpanel I asume.