java.awt.Graphics class in Applet has methods for working with graphics. Methods of the Graphics class: MethodDescription public abstract void drawString(String…