Fun with java animation