Is there a way to make the window fixed?

Is there a way to make the window fixed so that the user cannot resize the window in java?

+3
source share
3 answers

Frameclass (and its child JFramefor Swing) there is a method setResizablethat sets whether it is possible to resize Frameor not.

+10
source
JFrame myFrame= new JFrame();
myFrame.setResizable(false);

My decision.

+1
source

Frame setResizable, , . , , setResizable (false).

0

Source: https://habr.com/ru/post/1724621/


All Articles