Making a Frame Non-Resizable
By default, a frame can be resized by the user. Use
setResizable(false) to freeze a frame's size.
Frame frame = new Frame();
frame.setResizable(false);
// Get the current resizable state
boolean resizable = frame.isResizable();
Post a comment