title: Button In java to click once do one thing, and when clicked after that do another thing
body: <p>I have a button and I want it to do something when its pressed once, and something when its pressed after that. I tried putting the <code>if(e.getSource)</code> command once, then after the same command but It just adds a label then it instantly removes it. I want it to add the label after its clicked, then when its clicked again remove it. Give me an example and ill figure it out. </p>
  
  <p><em>please...</em></p>