EasyFsm
EasyFSM is a tool for generate finite state machine code quickly
...Using this tool, you just need to edit a .fsm file to describe the state machince concisely. It will generate the Java code for you according the .fsm file. Also, a .gv file for GraphiZ can be created for visualizing the finte state machine.