Retrieves the text displayed in the panel.
public String getText()
Returns a string that represents the text that appears in the panel.
See Also setText