adding a actionListener but not using inner class

Printable View