We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5dd402 commit 745fdbeCopy full SHA for 745fdbe
1 file changed
Graphics/Geometry/DrawOval.java
@@ -0,0 +1,12 @@
1
+import java.awt.*;
2
+import java.applet.*;
3
+
4
+/* <applet code = "DrawOval" height = "300" width = "300"></applet> */
5
6
+public class DrawOval extends Applet {
7
8
+ public void paint(Graphics g) {
9
+ g.setColor(Color.GREEN);
10
+ g.fillOval(10, 10, 40, 40);
11
+ }
12
+}
0 commit comments