As the title suggests, when trying to set setSize(int x, int y)
and x
, y
are below 3
, it defaults to 2
.
Trying setSize(1, 1)
creates a 2x2 pixel frame, and setSize(0, 0)
creates a 2x2 pixel frame.
I could not find anything on the internet mentioning this.
If anyone understood why this happens, please tell me!
Thank you.