File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Compiler error in JavaBean
Similar Threads
image is not beeing drawn
Colour picker, MouseDown(Event, int x, int y) Depreciation Help!
addMouseMotionListener error
Hexadecimal values and bitwise operators.