AnimalApp has all the main application logic. AnimalTreeInfo determines what data each tree node holds. Note that this code uses the net-datastructures library instead of structure5. If you want to compile it yourself grab the .jar below.