actionPerformed depends on the type of the attached item.
mouseClicked will run any time you click on the attached item