Hello folks,
I am trying to make greenfoot mark a rectangle.
I use drawRect method from GreenfootImage.
On this code-
public void drawRect (int x, int y)
{
getBackground().setColor(java.awt.color.RED);
GreenfootImage.drawRect(x,y,300,400);
}
it says I'm trying to reference a non-static method from static context
Any ideas how can I make this work?
-thanks

