Did you read the API doc for ActionEvent? It holds information about the recently occurred event your code is handling. It's practically worthless if you're using the anonymous innner class pattern...