Add actionlistener to components and add button to relate to command line