i just change some stuff. the problem is that the 1st rect x, y, postion is getting messed up. iam not sure why. this look righ tto me.
///paint method
Graphics2D g2d = (Graphics2D) g;...
Type: Posts; User: game06
i just change some stuff. the problem is that the 1st rect x, y, postion is getting messed up. iam not sure why. this look righ tto me.
///paint method
Graphics2D g2d = (Graphics2D) g;...
in paint method am drawing two rect but i want to rotate the 1st rect.
....
public void paint(...)
{
...
g2d.translate(180, -50); //rotate