measure

override fun measure(constraints: Constraints)

Measures this panel under constraints. A preferred size set on the panel is the result, as it is for getPreferredSize(); the policy measures only where none is set.