What is the difference between push, grow, and fill in MigLayout?

java, layout, miglayout, swing

Solution

`push` affects only gaps, not elements, as far as I know. If a component is set to `fill`, this means to set all subcomponents to `grow`, while `grow` affects the component directly.

Problem

I see that `grow` and `push` accept an optional weighting parameter, but apart from that: what is the real difference between `grow`, `fill`, and `push`? The documentation isn't very clear about that.

Original source

Related problems