Jframe resize "sensing"....

I need to be able to resize everything in my jframe according to its height/width. I need to be able to get the w/h at runtime, and if it is changed durring runtime, sense it there too. I have tried searching but all i get is how to resize jframes.Thank you for your help.dok
[296 byte] By [javanewbie404a] at [2007-11-26 17:12:31]
# 1
http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html
es5f2000a at 2007-7-8 23:40:24 > top of Java-index,Java Essentials,Java Programming...
# 2
I think adding a WindowStateListener to your JFrame might do the job.kind regards,Josedit: but of course as has been suggested in reply #1,using LayoutManagers is the way to go.
JosAHa at 2007-7-8 23:40:24 > top of Java-index,Java Essentials,Java Programming...