textanalyzer.java will appear below in a Java enabled browser. Use the applet to investigate letter, digram and trigram frequencies. Just type (or paste) text into the top text area, and then press one of the buttons. The bottom buttons erase the input or output text areas.

The source code.