This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin 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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!