I am also wondering how to make the checkbox appear with a white background, and a red 'check' when the user selects it. I tried doing a setBackground(), however, this is not what I want it to look like. I just want the inside of the box to be white, not the whole component. Is this possible?? Thanks again!
you might need to write your own ComboBoxUI or even your own LookAndFeel or (Metal)Theme respectively. See the API of these classes and the swing tutorial for a start.
for a quick hack of course: look through the source code of JComboBox. I think it uses the MetalComboBoxIcon internally. With some copy paste you might scramble your own combobox together.
You could do as Chantal suggested ( Well... replacing references to ComboBox to CheckBox... ) I think the name of the UI class for JCheckBox is BasicCheckBoxUI.
You could also just make two icons and make a special JToggleButton that switches between them...
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.