Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netbeans 6.5.1 will not render design view

Status
Not open for further replies.

MartinF

Technical User
Sep 19, 2000
143
0
0
FR
Hi,

I have suddenly got an error when i switch to design view in my Java project.

The error states 'Error loading component', 'Cannot create an instance of the class' which is a custom canvas.

The message tells me to go through and fix reported errors, but there are none! the program compiles and runs quite happily.

The only recent change i made was to add some custom code to the constructor of the class that will not load (i added code to pass the instance of the instancing class) but this worked quite happliy yesterday, but not today!

Any ideas anyone how i can save my project?

Thanks
 
Maybe the IDE needs the class to have the default constructor with a call to super()

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top