Ovals with the same X coordinate and different radiuses
Hello all, I have a newbie question. Why does the following code:
not draw two circles one below the other, but the above one is situated a little bit to the left (you can see in the link below an example)? If I set radiuses the same, there's no problems, but if they are different - that problem occurs. That even occurs on a newly created Applet, so I don't think the rest of the code matters. What causes this and how could I prevent this?
g.fillOval(100, 100, 50, 50);
g.fillOval(100, 175, 100, 100);