A multi-tread prototype of a distribute control system by JAVA