Update FizzBuzzCode in Java for an Applet