The JColorChooser Swing GUI component is something which I’d not had the undoubted joy of using until recently. I was shocked to discover how ugly the component is. On top of this the default view serves up colours which are pretty much unusable in their default state. While improvements are being made as part of JDK 7, these don’t address the main issues I have with it. That is, none of the possible views really provide an intuitive way for users to select the colour. It looks like that won’t change in the near future, so I guess it’s a good thing that the component is easy enough to use in programs. It’s flexible enough to use as a component of your own GUI panels and also provides a handy showDialog method which gives you the option to quickly display it as part of a modal or non-modal dialog. All of that just makes the appearance of the component and lack of a really intuitive colour picking component more frustrating.
0 Responses to “The JColorChooser Swing Component”