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 - "Add to Palette" does not work and does not show any usefull error message
Summary: "Add to Palette" does not work and does not show any usefull error message
Status: CLOSED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 17:55 UTC by Tim Lebedkov
Modified: 2006-03-24 10:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (5.08 KB, image/gif)
2004-10-15 17:56 UTC, Tim Lebedkov
Details

Note You need to log in before you can comment on or make changes to this bug.
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