hello, i have a jogl-rendered game in aGLCanvas which is attached to a normal Frame.
when i do
Frame.setSize(width, height);
then the window’s outer bounds are set to this size, but i actually want to set the inner size. that is the size of the gl-canvas.
unfortunately the thickness of the window-border as well as the height of titlebar is different per user and operating system, so i cant rely on standard values.
is there a way to set the inner size of a window, so that i always have the correct height and width of my GLcanvas?
thanks!