Login  Register

Re: GLJPanel in JavaFX - blanking out window?

Posted by Brendan on Aug 21, 2014; 12:37pm
URL: https://forum.jogamp.org/GLJPanel-in-JavaFX-blanking-out-window-tp4032861p4032864.html

Some further info:

1) GLJPanel is drawing over the top of elements in the scene which appear EARLIER in the FXML document (including the parent). So the workaround may be to have it first.

2) The blanking out happens when the GLJPanel is anchored & the window is resized.

3) It only occurs when either the X or Y dimensions of the window decrease. If I resize and make it both taller and wider, drawing is correct.

4) Setting the fx-backgroundcolor class on controls explicitly seems to solve the problem. (This is a viable workaround!)

5) I am working in Netbeans on windows 7 home