setVisible

public abstract void setVisible(boolean visible)

Sets whether the text is visible.

Parameters

visible

true to show the text, false to hide it