public Label (String text)

Creates Label with supplied text.

Parameters:
text    null text is treated as the empty string