Simulator with java interface completed