Login  Register

Frame briefly opening and closing during Java3D init

Posted by runiter on Jul 14, 2016; 1:10am
URL: https://forum.jogamp.org/Frame-briefly-opening-and-closing-during-Java3D-init-tp4036912.html

I reported this problem before.
Since Java3D pre11, everytime the following line is called, a Frame briefly opens and closes:

GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getBestConfiguration(template);

I managed to track it down to this line:

https://github.com/hharrison/java3d-core/commit/8593fa0991feb9c9baa85a83269fc50c755dff80#diff-43a97f7278c01787e8acab6ac40d668bR8371

What is the purpose of this commit? And is there anything that can be done to prevent opening the Frame?

Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D