This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 50492

Summary: "Add to Palette" does not work and does not show any usefull error message
Product: guibuilder Reporter: Tim Lebedkov <lebedkov>
Component: CodeAssignee: issues@guibuilder <issues>
Status: CLOSED INVALID    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot

Description Tim Lebedkov 2004-10-15 17:55:54 UTC
I tried to add a JPanel based class to the palette.
See attached screenshot for the error message.
Comment 1 Tim Lebedkov 2004-10-15 17:56:17 UTC
Created attachment 18329 [details]
Screenshot
Comment 2 Jan Stola 2004-10-25 09:23:36 UTC
I agree that the "error" message is brief, but it attempts
not to overload you with technical details and point you
to the correct way to install the Java Bean. The details follow:

It can happen that the enclosing project of the form file
is configured such that it is not possible to figure out
the JAR file the form is compiled to. In such a situation
the form file cannot be added into the Palette (using Add to Palette
action) because the location of the corresponding class file(s)
is not known.

On the other hand, you can install the Java Bean through
Palette Manager. Go to Tools > Palette Manager. Press
Add from JAR ... button. Select the JAR the class is compiled to
and finish the rest of the wizard.
Comment 3 Tim Lebedkov 2004-10-29 18:12:07 UTC
ok