The following text was written to the standard output stream when the WordList.java program was executed from IntelliJ.
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=46547:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/msoe/IdeaProjects/CS1/out/production/CS1:/home/msoe/Documents/jfugue-4.0.3-with-musicxml.jar:/home/msoe/Documents/SimplePainter.jar:/home/msoe/Downloads/SimpleComposer.jar arrayplay.WordList >>> help HELP - display a menu of commands DISPLAY - display the list of words PRINT - print a word (FIRST;LAST;nth SWAP - exchange two elements (nth;mth ADD - add a word to the list (FIRST;LAST HELP - terminate execution of the program >>> display about book block cook dog elephant ant fly water tail fly yellow onion jug >>> print first about >>> print last jug >>> print 5 dog >>> print 11 fly >>> swap 5 11 >>> display about book block cook fly elephant ant fly water tail dog yellow onion jug >>> swap 1 14 >>> dsiplay ### Unrecognizable command: dsiplay >>> display jug book block cook fly elephant ant fly water tail dog yellow onion about >>> add first cow >>> add last tiger >>> display cow jug book block cook fly elephant ant fly water tail dog yellow onion about tiger >>> exit Process finished with exit code 0