public void display()
{
GreenfootImage image = getImage();
image.clear();
image.setColor(Color.BLACK);
image.drawString("The List of " + numbers.length+" Numbers", 40, 50);
for (int i=1; i<10; i++)
{
int x = 40;
int y = 80;
for (int j=1; j<10; j++)
{
image.drawString(numbers[i*j] + " ", x*i, y);
y=y+35;
}
}
}
