Mac Menus?

Would it be possible to generate a Mac version that used menu bar menus, rather than window menus? As I understand it, Apple makes this fairly simple... it's a setting of some sort.

6 comments
Comment actions Permalink

Ron Lussier wrote:

Would it be possible to generate a Mac version that used menu bar menus, rather than window menus? As I understand it, Apple makes this fairly simple... it's a setting of some sort.


I think what you are looking for is the following setting:
-Dapple.laf.useScreenMenuBar=true
You put it in the info.plist inside the idea.app folder. This works like
a charm (but there is always an empty white line as first line of every
menu).

Best regards,

Dirk Dittert

0
Comment actions Permalink

Yup, the following should probably be added to the Info.plist file in idea.app:
<![CDATA[apple.laf.useScreenMenuBar true apple.awt.window.position.forceSafeCreation true apple.awt.window.position.forceSafeProgrammaticPositioning true apple.awt.window.position.forceSafeUserPositioning]]>

0
Comment actions Permalink

What do the forceSafe keys do? I think I missed those in docs...are they in the relnotes for the OSX JVM?

0
Comment actions Permalink

Ron Lussier <jiveadmin@jetbrains.com> wrote:

Yup, the following should probably be added to the Info.plist file in
idea.app: <key>apple.laf.useScreenMenuBar</key> <string>true</string>
<key>apple.awt.window.position.forceSafeCreation</key>
<string>true</string>
<key>apple.awt.window.position.forceSafeProgrammaticPositioning</key>
<string>true</string>
<key>apple.awt.window.position.forceSafeUserPositioning</key>


Where can I find information about these properties? I tried a google
search on apple.awt.window.position but it did not return any results.

0
Comment actions Permalink

They are documented in the developer notes for 1.4.1 on the Mac:

http://developer.apple.com/techpubs/macosx/ReleaseNotes/java141/system_properties/index.html

-jon

0
Comment actions Permalink

They keep windows from being created or moved to a place off-screen where you can no longer access them. (This seems like a good idea, unless IDEA is using hidden windows for some reason.)

0

Please sign in to leave a comment.