title: JLabel that can never equal a certain String
body: <p>Let's say I have a JLabel called <code>counter</code>. How can I make it so that if <code>counter.getText()</code> returns  the String <code>"hello world"</code>, change the text to <code>"0"</code>?</p>