Trying with MouseListener instead of ActionListener