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.
When choosing Tools->Palette Manager->Swing/AWT Components, and adding a new component from a project, the window showing available beans will refuse to show one called 'JPaletteControl'. I renamed the class, and it then showed up, renamed it back again and it stops being shown. I haven't got another machine or fresh install to repro this on, so I'm not sure if this is some internal name conflict or a strange one-off occurance.
wrong component, reassigning to form for evaluation
I am sorry, I am not able to reproduce this issue. Could you, please, provide exact steps to reproduce. Could you, please, attach the problematic bean? > I haven't got another machine or fresh install to repro this on, so I'm > not sure if this is some internal name conflict or a strange one-off occurance. You don't need to have another machine or another installation. It is sufficient to start NetBeans with a new (default) set of settings. The settings are stored in something called user directory. You can specify this directory using the following switch --userdir <directory> on command line e.g. nb --userdir <somePath>/issueWithPaletteControl
Hmm, I can't reproduce this with a clean project and settings. Still happens in my project though which is strange. I still get the issue even with a basic bean. Using this: class JPaletteControl implements Serializable { public JPaletteControl() { } } The issue is still there: Netbeans can't pick it up, but when I rename it to something else, it can.
Something like JPaletteControl.palette_item_hidden probably remained in <userdir>/config/FormDesignerPalette/<yourFolder>. Closing as non-reproducible. Feel free to reopen if you are able to reproduce it with an empty userdir, but do not forget to provide steps to reproduce then.