Student Name: __________________
Class and Section __________________
Total Points (20 pts) __________________
Due: October 29, 2018 before the class
Project: Binary Tree Traversal
CSCI 3230 Data Structures and Algorithms
Georgia Southern University
Problem Description:
Modify Listing 25.10, TreeControl.java, to add three
new buttons Show Inorder, Show Preorder, and Show
Postorder to display the result in a message dialog
box, as shown in the following figure. You need also
to modify BinaryTree.java to implement the inorder(),
Figure
When you click the Show Inorder button in (a), the tree
nodes are displayed in an inorder in a message dialog box
in (b).
Coding:
Name your program Exercise25_13
Screen shots: