I have a class ImageLabel. The constructor is as follows:
public ImageLabel(String str)
{
GreenfootImage g = new GreenfootImage(str, 20, null, null);
setImage(g);
}
Now I want to overload this constructor bt passing an object of another class and want to display another image(NOt of ImageLabel class).
means like
public ImageLabel(Actor object)
{
display image at specific location
}
I am not able to display an image..
How to do it???

