application in building mill training simulators in java