How do I show only the HSV box of a JColorChooser?
问题 In this image you can see a default Java Swing color chooser, JColorChooser : What I want is just the color square and vertical slider as outlined in red: I was able to remove all the tabs (Swatches, HSL, etc) and the preview, but I was unable to remove all the sliders. How can I do this? 回答1: OK, just for grins, I decided to create your desired JPanel from scratch, wiring it up in a kind of View-Controller set up, since the model here is trivial -- a Color field within the controller. To use