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 - [65cat] Incorrect pallete item of BeanInfo class
Summary: [65cat] Incorrect pallete item of BeanInfo class
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2008-08-15 13:38 UTC by Michel Graciano
Modified: 2012-12-03 21:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Library xml file (689 bytes, text/xml)
2008-08-15 13:57 UTC, Michel Graciano
SwingX jar file (1.39 MB, application/octet-stream)
2008-08-15 13:58 UTC, Michel Graciano

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

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.