cfg for method Apple.actionPerformed added