A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Swing / AWT / SWT
Color the JComboBox
Joined: Sep 10, 2004
Apr 02, 2005 11:20:00
when I setBackground(Color.green) my
it colors only the arrow (I set the combobox to setEditable(true)).
how can i color the textFiled of the jcombobox as well?
Joined: Jan 08, 2005
Apr 02, 2005 13:00:00
Try using the method: setForeground(Color c).
I agree. Here's the link:
subject: Color the JComboBox
drop down menu
how to set the "background selection color" of a Combobox
Can I change the back/foreground color of a disabled JComboBox?
how to Change JSpinner&JComboBox Arrows Color?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014