I try some thing like code below to draw 3 piece of circle. First 2 piece is working, but the last one show something wron. For each piece of circle should be 50 degree, but only last one show something like 150 degree. What happen?? How can i fix this??
import java.awt.*;
class post extends Frame { static int a,b; public post() { setSize(300,300); setBackground(Color.blue); setTitle("title"); }