File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OS X Menubar

 
L�szl� Kov�cs
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does one create menus for the OS X menubar (as opposed to adding them to a frame)?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume this is for a Swing app? Way back when, I remember reading somewhere that there was a property to set to make the menu use the OS X native menu rather than a Swing menu. As I write mostly web apps, I've never used it myself, just recall its existance.

Try googling around for it, I know it can be done.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The property in question (and others you can use to make a OS X Java app more Mac-like) is described at http://developer.apple.com/technotes/tn/tn2031.html

[Bear edit: repaired URL]
[ June 27, 2005: Message edited by: Bear Bibeault ]
 
L�szl� Kov�cs
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That page is going to be really useful. Thanks a lot, Ulf and Bear.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic