I'm just learning OpenGL using JOGL and, after dozens of hours of debugging, I think I found a bug..
When using the window scaling feature of windows (usefull for small high-resolution screens, laptops, ..) and Java 9 or 10 (Java 8 works fine though) the AWT Frame scales (when using 125% scaling a 500x500 Frame will be 625x625) but the GLCanvas doesnt.
Java 8, everything works as expected:
https://prnt.sc/kjf9fpJava 10, the window is 25% larger and has a nasty black border at the right and the top:
https://prnt.sc/kjf9zqIs this a known bug? Does anyone know of a workaround?