how to show String on the greenfoot.,.???
GreenfootImage img = new GreenfootImage("The text (String) you want to print.", 35, Color.black, new Color(0, 0, 0, 0));
//That will make a GreenfootImage with your string with black letters on a transparent ground with a font size of 35;
setImage(img); //you need to set the image of your actor to the image you created to see it;