The following text was written to the standard output stream when the WordListDemo.java program was executed from Netbeans.
run: >>>display rain shine heavy white yelloe concrete receipt baseball pull needle many pack unpack >>>add first move >>>display move rain shine heavy white yelloe concrete receipt baseball pull needle many pack unpack >>>add last pretty >>>display move rain shine heavy white yelloe concrete receipt baseball pull needle many pack unpack pretty >>>swap 1 2 >>>display move shine rain heavy white yelloe concrete receipt baseball pull needle many pack unpack pretty >>>help HELP - display menu of commands DISPLAY - display the list of numbers PRINT - print a word (FIRST; LAST; nth) SWAP - exchange two elements (nth; mth) ADD - add a word to the list (FIRST; LAST) EXIT - terminate execution of the program >>>exit BUILD SUCCESSFUL (total time: 1 minute 17 seconds)