Does anyone know if it is possible to limit how the user resizes a JDialog?
I know i can call the method setResizible(boolean) and that disables or enables the user from resizing the JDialog, but is there a way to restrict the user from changing the height of the window but allowing him to change the width?
The dialog I'm creating looks funny if it grows vertically but horizontally growing the component could be a benefit to the user.
Thanks in advance.