Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 579 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 579 Bytes

Huffman-Tree-Animation-GUI

This Application takes a String as User Input and consequently shows the genration of the huffman tree using the String.

Run the program in your terminal using the following commands :

javac huffman.java

java huffman

At first a window opens where the user need to enter the String and press enter and the animation starts. User may have to enlarge the String Input Window to input the string .

It may happen that some nodes do not fix in the screen,this may however be remedied accordingly by changing some values in the code as commented out.