added java control code this runs the netlogo code from with in a java program