A program that animates JAVA UI panels using multi-threading