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=45947:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/murman/IdeaProjects/CS1/out/production/CS1:/home/murman/Downloads/SimplePainter.jar:/home/murman/Downloads/SimpleComposer.jar:/home/murman/Downloads/jfugue-4.0.3-with-musicxml.jar arraylistplay.WordList >>> display bark bacon dog cat that you school jelly jam lame >>> print first bark >>> print last lame >>> print 5 that >>> swap 1 4 >>> display cat bacon dog bark that you school jelly jam lame >>> swap 3 5 >>> display cat bacon that bark dog you school jelly jam lame >>> add first hello >>> add last fire >>> display hello cat bacon that bark dog you school jelly jam lame fire >>> exit Process finished with exit code 0