Use an ActionFactory in the Swing Controller.

Change-Id: Ifcea5a3dfe3621bc07a3027ed4518f4961ba6a47
Reviewed-on: http://gerrit.dmdirc.com/2783
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>