labelFor

Marks this label as the caption for the component bound to target via the labelTarget modifier, wiring JLabel.setLabelFor to that component. Requires a JLabel target.

Return

this chain with the caption binding declared on it.

Parameters

target

the label-target reference identifying the captioned component.

See also