Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I receive the default ComboBox-Arrow-Icon  RSS feed

 
Olaf Kaus
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy!

I need for a Custum-UI-Control the righthand arrow of a JComboBox.
I try to receive the Icon like this:

After running this code I receice a ClassCastException.
I am not sure if "MenuItem.arrowIcon" is the ComboBox-ArrowIcon.

Any idea?
 
saager mhatre
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The ComboBox Arrow Icon is UI specific. If you're looking for the one in the Metal LnF, it's here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!