How can I change the arrow style in a JComboBox

Posted by Stephane Grenier on Stack Overflow See other posts from Stack Overflow or by Stephane Grenier
Published on 2010-06-09T17:54:55Z Indexed on 2010/06/09 18:12 UTC
Read the original article Hit count: 234

Filed under:
|
|
|
|

Let's say I want to use a custom image for the arrow in JComboBox, how can I do this?

I understand it's possible using the synth xml files, or maybe even UIManager.put(...), but I don't know how. All I want to do at this time is change the arrow image to something else, either programatically or even just overriding the image it uses. How exactly can I do this?

© Stack Overflow or respective owner

Related posts about java

Related posts about swing