We are about to switch to a new forum software. Until then we have removed the registration on this forum.
If I use frame.setSize()
I can change the size of the window. However after this I'd like to get the size of the window without the borders, i.e. the thing around with the red X for closing the window (in Windows) etc. I've found some java solutions for this, e.g. frame.getContentPane().getSize();
, but they don't work in Processing.
Does anyone know how to do this?
Answers
The keyword for the search is insets. That's the thing Java uses to measure the borders.
Works perfectly, thanks a lot!