you know it seems i partly just answered my own question:

to figure out the new container height i need to look at the last component so i do:

lastComp.getLocation().y + lastComp.getHeight() + mypanel.getInsets().bottom

and this will get the new height.

but my new question is... do i have to setup a resize component listener to know when to reset this?

cuz, if someone decides to resize the frame then all of this will get thrown out of wack.
if so, that sucks. cuz that would be slow. plus it throws my mouse listener for autoscrolling out of wack.


--steve
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to