Question: Based on this code draw a target that looks like this // Target.java Author: HMD // Demonstrates a basic applet. import javax.swing.JApplet; import java.awt.* public
// Target.java Author: HMD // Demonstrates a basic applet. import javax.swing.JApplet; import java.awt.* public class Target extends JApplet // Draws a target public void paint(Graphics page) page.fillOval (100, 100, 200, 200); I/ circle page.setColor(Color.red); page.fillOval (125, 125, 150, 150); page.setColor(Color.white); page.fillOval (150, 150, 100, 100)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
