Java setResizable(false) changes the window size (swing)

前端 未结 7 754
情深已故
情深已故 2020-12-09 17:45

I have a strange problem. I am using the null layout for a window (= JFrame and on windows) and if I use setResizable (false) the window size gets bigger (to right and botto

7条回答
  •  失恋的感觉
    2020-12-09 18:07

    Depending on the L&F setting the resizable(false/true) might change the window border decorations. No maximize, no resize arrow. That itself can change the size.

提交回复
热议问题