Login  Register

Re: getAWTgraphicsconfiguration() causes NPE error

Posted by Oskarnaugh on Apr 06, 2022; 5:22am
URL: https://forum.jogamp.org/getAWTgraphicsconfiguration-causes-NPE-error-tp4041439p4041708.html

Hi gouessej,
I managed to make it work. Yout suggestion of adding --add-opens=java.desktop/sun.awt=ALL-UNNAMED to the VM arguments did indeed solve the problem. It was entirely my mistake trying to understand where to put it in IntelliJ IDEA. Thank you very much and appologize for my mistake.
The only thing that I haven't managed is to get rid of the warning messages when setting the system properties.