Example 13

Musical Bands

Use a binary search tree to hold names of musical bands. Create a class that can read in data from a text file. The text file can have any number of band names, but put only one band name per line in the text file. Create the ability to read through the tree in preorder, inorder, or postorder way and send the output to the console. Create a GUI that allows a filename or band name to be input, and radio buttons that allow the output order selection once the create output button is pressed.