+ 1

How to draw a circle?I dont know the parameters.

Write code in java and run in Applet

7th Mar 2017, 12:30 PM
zhou
zhou - avatar
2 Respuestas
+ 2
public void methodName(Graphics obj){ super.paintComponent(obj); obj.fillOval(9,9,d,d); } 9,9 is cordinate d is radius
7th Mar 2017, 1:55 PM
Meharban Singh
Meharban Singh - avatar
+ 1
coordinate of circle center ?
7th Mar 2017, 1:32 PM
zhou
zhou - avatar