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



Yes, thanks Pape... buts its all this stuff that we having problems with...
Matt thinks the MRJ properties are old and I think he is right... (1st article)


OK... new question
Where can one download the latest version of the Java Ant Jarbunder?
The last article supplies jarbundler-1.9.jar... thats what we using and it definitely generates MRJ properties
The DTD in plist is this... is it current?


<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>


We are not on Mac... we are simply trying to target the Mac, as well as every other platform.
Thats what Java is about... I think.


Every article that we find seems to have a slightly different story....

If someone can just point me to the current technical spec for a Mac.App
The current file structure, the DTD used in Plist... we'll do it ourselves.

Does the stub still reside at this location?
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub

Guys if these external tools are wrong... it means an external platform app will either break, or Java developers on other systems
wont bother targeting the Mac... which makes any Jar coming in from the web, is foreign.
All we trying to do in our apps is let the user, after having downloaded a cool Java app and run it, click on "Make Mac.App"
Expecting a "user" to decide on properties and file associations and classpaths needed.... is silly.
A Mac.App is a very cool thing, its not complex, and its actually very light... there is no reason an Java application shouldnt
go... oh look you on a Mac... would you like a Macified version of me.
In fact it seems necessary because file associations are inside these things...


When I talk to MACers... the assumption seems to be that its developed, deployed and used on a Mac???

Heeeeeelp. we foreigners... ha ha

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

1. http://today.java.net/pub/a/today/2003/12/08/swing.html

2.
http://developer.apple.com/documentation/Java/Conceptual/Java14Developme
nt/04-JavaUIToolkits/JavaUIToolkits.html

3. And don´t forget to make a nice App in the "Dock" with
http://informagen.com/JarBundler/


Regards Rüdiger


-----Ursprüngliche Nachricht----- Von: java-dev-bounces+ruediger_pape=email@hidden [mailto:java-dev-bounces+ruediger_pape=email@hidden] Im Auftrag von Johnny Kewl Gesendet: Donnerstag, 14. Februar 2008 02:42 An: email@hidden Betreff: Macifying Java Apps


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


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.