Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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
Similar Threads
addMouseMotionListener error
image is not beeing drawn
Hexadecimal values and bitwise operators.
Colour picker, MouseDown(Event, int x, int y) Depreciation Help!