Instructions for running the demo

Put all demo files in the same directory. Open a command window or terminal and go to the directory where you stored the files. For example, if the files were stored in directory C:\CS1027\demo3, in the command window type

cd C:\CS1027\demo3

Then type

java -jar DemoAssignment3.jar

You can also double-click on the icon of file DemoAssignment3.jar, but then you will now be able to run the program step by step.