changing background for jspinner
843807Aug 16 2010 — edited Aug 18 2010Hello,
I have a JSpinner that I am using.
When I disable it the "editor" and buttons go "disabled gray" (under window xp) but there is still a white outline just inside the border of the whole jspinner.
I want to change this white outline or make the jspinner non-opaque.
Both setBackground() and setOpaque() have no effect.
I overwrote the setEnabled(boolean enabled) function to also set setVisible(enabled) for all the jspinner's children. This hid the editor and buttons but i was left with a white background that I can't seem to change or get rid of.
Can someone help me with this?
Thank you