Is there any way to make a window fixed?

java, size, window

Solution

The `Frame` class (and its child `JFrame` class for Swing) there is a `setResizable` method which will set whether or not a `Frame` can be resized or not.

Problem

Is there any way to make a window fixed so that the user can't change the window size in java?

Original source