This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Java in General and the fly likes Compiler error in JavaBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Compiler error in JavaBean" Watch "Compiler error in JavaBean" New topic

Compiler error in JavaBean

Suman Sharma
Ranch Hand

Joined: May 16, 2005
Posts: 72
The following example gives 8 compiler errors. The first error is where I added // Line 1:
The constructor Object(int, int, int) is undefined. I am using Java 5.0 in Eclipse.

Could you please help me with this? Thank you.
Bupjae Lee
Ranch Hand

Joined: May 14, 2007
Posts: 107
I think you missed 'extends Color' for ColorBean class.
Suman Sharma
Ranch Hand

Joined: May 16, 2005
Posts: 72
Thank you. It works now.
Don't get me started about those stupid light bulbs.
subject: Compiler error in JavaBean