netbeans
netbeans copied to clipboard
Extend ColorEditor to include alpha channel
Description
The org.netbeans.beaninfo.editors.ColorEditor class does not support the alpha channel. This PropertyEditor is used in various places.
The color chooser UI allows to set the transparency but then it's ignored.

Do I miss something or it's a gap?
You can reproduce it by
- Create a new JPanel and change the background color
- Select a color with transparency
- Close the editor and reopen it, the transparency setting is gone
Use case/motivation
In some cases one want to select a color with the alpha channel. As a default color editor, it should support it.
Related issues
No response
Are you willing to submit a pull request?
Yes
Code of Conduct
Yes
sounds useful, let me know if you need help or a PR review