What do you mean by 'while resizing?' Is your size-setting code part of a WindowListener? If so, shouldn't you set the minimum size 'before resizing --' before you set the Dialog to visible?
I have set the Minimum size before setting the dialog to visible,but its not working.Am able to resize the dialog to zero.Is there anything else I should set?
What version is your JVM? I don't know if it was Java 5.0 or Java 6, but one of those actually started listening to window minimum sizes. Java 1.4 surely didn't.