The java file (GUITest.java) provided in this archive provides a graphical interface for adding and removing Strings from your heap priority queue (HeapPQ).  In order for this
application to work properly, your HeapPQ must have the Iterator iterator() method working properly, otherwise, the heap will fail to display.

To use this program, simply compile the java file in same directory (or project) as your HeapPQ class and run "java GUITest".  This should bring up a window that has a textfield, two buttons (Add and Remove), and an empty tree.

Please note that the values you are entering into your heap are String values, so a "10343" is less than a "2".  Also note that the tree is being build sideways, so children are to the left of their parents.

If you have any questions about this program, please post them to the newsgroup.
