File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

having problems getting my Runnable Interface working

 
Giovanni Siciliano
Greenhorn
Posts: 6
  • 0
  • 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: 9214
9
Linux Mac OS X Windows
  • 0
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic