I have a program which creates a window where a message is displayed according to a check box.
How can I make the window size constant when the message is displayed
You could use:
parentWindow.maxsize(#,#); parentWindow.minsize(x,x);
At the bottom of your code to set the fixed window size.