Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

For Swing: Button with down arrow button on right side  RSS feed

 
Jim Atharris
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Does swing offer that type of component out of the box? I'm not sure what it is called (so my subject description is the best I can do) but I've seen these buttons on Microsoft Outlook (create either a new Mail message or Calendar entry). Also I've seen them on Thunderbird.

Attached is from MS Outlook.

We're using JDK 1.6.0_16+ deploying on a Windows or Redhat box.

Thanks,
Jim
button.png
[Thumbnail for button.png]
button with down arrow on right side
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Craig Wood's code here might be a starter

http://www.coderanch.com/t/343889/GUI/java/Drop-Down-Menu-Buttons
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!