Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

having problems getting my Runnable Interface working

 
Giovanni Siciliano
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't get my totalParts to show on the bottom of the Grid. It is supposed to blink different colors. Any suggestions would be great. Thanks.
This is what i have so far:
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Giovanni Siciliano:


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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic