JDialog Resizing

Hello,

I have custom class that extends JDialog. My problem is that my custom class gets cut off when the resolution is lower than 1152x864. Is there a way to make the dialog to automatically resize to fit the window resolution or someway I can address this problem? Any help is much appreciated. Thanks

vyang

[328 byte] By [vyanga] at [2007-11-27 10:59:35]
# 1

RTFM

http://java.sun.com/javase/6/docs/api/java/awt/Toolkit.html#getScreenSize()

tjacobs01a at 2007-7-29 12:24:04 > top of Java-index,Desktop,Core GUI APIs...