Originally posted by Roopa Bagur:
The main window and most of the dialogs of my program are resizable. Is there any way to limit the minimum size since the windows start to get very ugly when reduced too far. I have tried setting the minimum and preferred sizes on all of the containers, but they seem to be ignored. Is this tied to the fact that they can be reduced to icon size and if the minimum were limited, then the icon would be that size as well?
I am using border layout manager
Thanks,
Roopa
Originally posted by Bill Prentice:
Maybe the point here is that the Dialog is taking a long time to actually arrive on the screen once the button is clicked, is this the case?. If so, it is the event not the button that is the root of the problem.
Originally posted by Ashutosh Uprety:
set the modal parameter of ur Dialog to true
This will prevent u from clicking on the parent window unless the dialog is closed.
constructors are
public Dialog(Frame parent,String title,boolean modal)
public Dialog(Frame parent,boolean modal)