Add an action for the exit button + Add a Jframe