These two lines indicate a problem. Do you want MyLabel to extend the Label class (the first line), or do you want MyLabel to aggregate the behavior of the Label class with other classes? You seem to be saying that you want both. The result is that the superclass, which is where the rendering logic is, never gets any text, so it doesn't display anything. Choose one path of action and delete the other. I'm sorry i can't be more direct, but I'm not getting credit for this assignment.