Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Macifying Java Apps



 
----- Original Message -----
Sent: Thursday, February 14, 2008 3:53 AM
Subject: Re: Macifying Java Apps

Hi Johnny,

Anything with "MRJ" in its name should be highly suspect to everyone.  apple.laf.useScreenMenuBar is the correct property.
Ha ha.... when you run JarBundler (Macs Tool)
it puts this in Plist

<dict>

<key>com.apple.mrj.application.apple.menu.about.name</key>

<string>Application Name</string>

</dict>

Should I remove it?   MRJ is there... but maybe my JarBundler is old... wrong?

 

 

 

Please let us know where you find MRJ references in our own docs/code/articles so we can remove them.  Thanks!

Matt Drance . Sharing Technologies Evangelist email@hidden
ichat.ical.ab.sync.dotmac.automation.java.dashboard.spotlight.quicklook

On Feb 13, 2008, at 5:41 PM, Johnny Kewl wrote:

Are these the right command line properties to Macify Java's menu...

I have two conflicting articles... so now confused ;)


String macTopMenu = "-Dapple.laf.useScreenMenuBar=true";
String macTopName = "-Dcom.apple.mrj.application.apple.menu.about.name=" + appName;

This is for an application Runtime.exec'd

================

In a Mac App in Info.Plist
I see only the
  com.apple.mrj.application.apple.menu.about.name
is set.... is that because "useScreenMenuBar" can be assumed automatic...

================

Is there anything else that we should add to make it nice for Mac users (Java programs targeting all platforms)?
Not trying to integrate to the nTH degree, just dont want Mac user to go ... what is that?

================

Wondering why
  UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
Doesnt do this automatically on the Mac?


Thanks....
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Macifying Java Apps (From: "Johnny Kewl" <email@hidden>)
 >Re: Macifying Java Apps (From: Matt Drance <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.