Graphics in Applet
java.awt.Graphics class in Applet has methods for working with graphics. Methods of the Graphics class: Method Description public abstract void drawString(String str, int x, int y) Draws the provided string. public void drawRect(int x, int y, int width, int height) Draws a rectangle with the provided width and height. public abstract void fillRect(int x, int […]
August 10, 2022 | Java | No comments