File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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 Change JSpinner&JComboBox Arrows Color?
Can I change the back/foreground color of a disabled JComboBox?
how to set the "background selection color" of a Combobox
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014