Panel
A JPanel under the Swing layout manager layout names, holding content as its children.
Children are written plainly; what a child declares to layout's scope places it under that manager.
A change of layout kind installs the new manager on the panel standing and builds the children anew; a change of a layout's parameters applies to the manager standing.
Parameters
the layout the panel's children are laid out under; see PanelLayout
the SwingModifier applied to the panel
the composable content of the panel, with layout's scope as its receiver
A JPanel under the layout a JPanel builds itself with: a PanelLayout.Flow laying content out in a centered row that wraps, 5 apart in user-space coordinates.
Parameters
the SwingModifier applied to the panel
the composable content of the panel