hey sorry for taking so long to respond back. I put it inside the listener method because that was the only way i could do it where the word "this" wasn't underlined in red. When i put it in the main class it says "cannot use this in a static context." So I don't know what to do. Also, I put in a System.out line in the actionPerformed method and it was never printed, so that method is not currently being called.