ComponentBoundsConstrainer - where are position constrains methods?


I’ve just created ComponentDragger and it works fine, but I can’t find the way how to give it position limits.

There is something about ComponentBoundsConstrainer but in the documentation ( I can’t find anyone method that is concern to position, all of them are for size, like for example setMinimumHeight.

For any help thanks in advance.
Best regards


I guess this one should do the job:


Read my comment here: