create an applet to draw a digit using the method fillRect of the class Graphic.

create an applet to draw a digit using the method fillRect of the class Graphic. for instance if the input is 4 the applet will display the digit 4 as shown in figure 12-27