In the parent component I declare the constrainer, and in the constructor: constrainer.setMinimumOnscreenAmounts(getHeight(), getWidth(),getHeight(), getWidth());
Then I pass the constrinaer as a reference to a child component, and the child will hit walls as he touches the parent bounds when dragged around. The constrainer does not affect the parent.
Never used it for resizing though, but try to work from there.
Thanks. Yeah, I can get it working in that way, I was just hoping that the constrainer would also constrain the main window but I can’t seem to figure this out.