Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

For Swing: Button with down arrow button on right side

 
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
 
A day job? In an office? My worst nightmare! Comfort me tiny ad!
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!