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 144064

Summary: [65cat] Incorrect pallete item of BeanInfo class
Product: guibuilder Reporter: Michel Graciano <hmichel>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Library xml file
SwingX jar file

Description Michel Graciano 2008-08-15 13:38:41 UTC
[ BUILD # : 200808141419 ]
[ JDK VERSION : 1.6.0_07 ]

When I add the components from a SwingX library, some of these are
added duplicated. I am using the 0.9.3 jar file in the library.
Comment 1 Jan Stola 2008-08-15 13:47:45 UTC
I am sorry, I am not able to reproduce this issue. Could you, please, provide more details? What steps (exactly) do you 
do to add the components into the Palette?
Comment 2 Michel Graciano 2008-08-15 13:57:18 UTC
Created attachment 67532 [details]
Library xml file
Comment 3 Michel Graciano 2008-08-15 13:58:11 UTC
Created attachment 67533 [details]
SwingX jar file
Comment 4 Michel Graciano 2008-08-15 14:01:36 UTC
Steps to reproduce:
1-Create a new Category named 'SwingX';
2-Click at 'Add from Library' button;
3-Select 'SwingX' category;
4-Mark to show all JavaBeans;
5-Select all JX* classes;
6-Select 'SwingX' category and Finish.

Now, I can see several duplicated components on 'SwingX' category.
Comment 5 Jan Stola 2008-08-15 15:13:08 UTC
The "duplicates" occur when you select both <Component> and <Component>BeanInfo. They are not duplicates because the 
first one represents the component class and the second one represents the BeanInfo class. Surprisingly, the display 
name of the BeanInfo is not <Component>BeanInfo, but just <Component>. This is incorrect.

Lowering priority to P4 because this issue occurs when the BeanInfo is added into the palette only and it doesn't have 
any sence to add it there.
Comment 6 Michel Graciano 2008-08-15 15:18:20 UTC
Thanks for details and for me priority is ok.

Regards
Comment 7 Tomas Pavek 2012-12-03 18:14:03 UTC
Not sure if/how this was fixed, but I recently fixed some bugs related to SwingX components and did not see the duplicates when installing to palette. I.e. when I select "Show All JavaBeans" I can see the BeanInfo classes together with the component classes and the BeanInfo classes are shown with "BeanInfo" in their name.

Please reopen if this is still happening for you...
Comment 8 Tomas Pavek 2012-12-03 21:35:55 UTC
I think I've misunderstood the report. The duplicates appear in the palette, I thought they appeared in the wizard where the classes are selected. Once installed, the palette items miss the "BeanInfo" string in their name. This bug is still present.