File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compiler error in JavaBean

 
Suman Sharma
Ranch Hand
Posts: 72
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you missed 'extends Color' for ColorBean class.
 
Suman Sharma
Ranch Hand
Posts: 72
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. It works now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic