Change the setup of the java genearator to be in the frame.php
fix an autoheight bug
add some comments