How to set maximum bound for JDialog

Hai..In JFrame ,We will define maximum Size using setMaximizedBounds(Rectangle bounds)like that i want to define maximum Size for JDialog ....Thanks in Advance....
[199 byte] By [amir430a] at [2007-11-27 8:50:58]
# 1
Just pack() the dialog and use setResizable(false).
camickra at 2007-7-12 21:03:22 > top of Java-index,Desktop,Core GUI APIs...
# 2
I want to resize the JDialog ...but it should particular size ....thats y i aski want like setMaximizedBounds(Rectangle bounds) for JFramethanks in advance....
amir430a at 2007-7-12 21:03:22 > top of Java-index,Desktop,Core GUI APIs...
# 3
Hi Amir,I have the same problem.If you have a solution, please let me know.Thanks
shay_oa at 2007-7-12 21:03:22 > top of Java-index,Desktop,Core GUI APIs...