working on actionPerformed.
working on actionPerformed.