Hallo,
i'm trying to rotate an oval in Netbeans (java program). I tried a lot of stuff but i can't seem to figure it out. Can anyone help me please? Note: i'm a java "idiot" so please keep it simple.
Or even just typing the code for me would also be nice but please help!
here is my code so far:
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Polygon;
import java.awt.geom.AffineTransform;
public void paintComponent(Graphics g){
g.setColor(new Color(205, 65, 65))
g.fillOval(720, 420, 30, 40);
}
greetings,
Lax