Java 7 JColorChooser: Disable Transparency Slider
问题 JDK 7 added a new transparency slider to the JColorChooser: The problem is that I do not want to allow my users to pick transparent colors. Unfortunately, there doesn't seem to be an easy way to disable the slider. One way to get rid of the transparency is to just create a new color based on the selected one but removing the alpha value. However, this gives a false impression to the user as the slider now effectively does nothing and I would hate to have a useless UI element around. So my