I have a program and i need a button that will show the lyrics to a song and the other button to clear those words from the text area and right now the way the program is set up is that when i click either of the buttons it shows the lyrics. How can i fix this?
Hi Kinzur, sorry but don't understand why you are able to compile it. The if(ActionEvent == "Clear") statement should not work. Try actionEvent.getActionCommand() in the if statement. Additional you need an else part. Otherwise you will clear the text box and fill it with lyrics again. Regards Torsten