Modified MorphGui.java