public Labeled (String text)

Creates a Label with text

Parameters:
text    The text for the label.