Open Erwan102 opened 2 days ago
Is this in the context of adding to the IDE, or adding to a platform application? Can you create a basic example project that demonstrates the issue, and attach it here.
It is in the context of adding to a platform application.
I attach here the code used to create our palette. It is slightly incomplete but you can use it to reproduce the issue.
custom-component-palette-example.zip
Thank you very much for your help,
Apache NetBeans version
Apache NetBeans 23
What happened
Once the NetBeans IDE's GUI is restored to its default configuration (see
Window
->Reset Windows
menu item), it's impossible to use a custom component palette. When trying to select an item, the palette disappears and the item can't be dragged & dropped.The custom palette is created with the
PaletteFactory
class and itscreatePalette
method:Language / Project Type / NetBeans Component
No response
How to reproduce
Just create a new component palette using the palette API. Then, build and install the module. Open NetBeans and reset its GUI : the content of the palette can't be used anymore.
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows 10
JDK
JDK 17
Apache NetBeans packaging
Apache NetBeans platform
Anything else
No response
Are you willing to submit a pull request?
No