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