Re: Javafx causes jogl problem in mac
Posted by
gouessej on
Mar 07, 2013; 12:16am
URL: https://forum.jogamp.org/Javafx-causes-jogl-problem-in-mac-tp4028417p4028536.html
The size is correctly set in the constructor of JoglNewtAwtCanvas but I notice that the height is equal to 0 just before setting the visible flag to true. The context is still set to null whereas the drawable should be realized and the context should be available after calling setVisible(true) in init(). I will have to write a tiny test case to reproduce this bug. It never occurs under GNU Linux. Maybe you can try to call getNewtWindow().display() just after setVisible(true) in init().