This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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.
I agree. Here's the link:
subject: Compiler error in JavaBean
It's not a secret anymore!