How create a non-resizable dialog
843806Aug 15 2007 — edited Mar 19 2009Hello!
If my understanding is correct, setting the setResizable(false) disables resizing of the dialog.
But in my case, the dialog I've created can still be resized even dialogs created by JOptionPane.
Procedure to replicate the problem:
1. Create a dialog and call setResizable(false).
2. When the dialog is displayed right click on the title bar of the dialog and a menu appears
3. Select maximize.
Result:
The dialog is maximize.
Is there another way to disable resizing in JDialog??
Note:
This problem occur in JRE 6.0 but not on lower versions of JRE.