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: JNLP file-association working on OSX ?



Hello Gerhard,

I know this can be done but this is not correct.
There should be a cross-platform way to do this!

I have brought this mail back to list, does anyone on the list have an answer?

thanks in advance

paul


Le 02-juil.-08 à 10:09, hiller a écrit :

Hello Paul,

I have found a solution, but it needs extra code for mac.

There is AppleJavaExtensions available from http://developer.apple.com/samplecode/AppleJavaExtensions/index.html

You have to implement an ApplicationAdapter and overwrite "handleOpenFile" and "handleOpenApplication".

An example of a Webstart-Application using this can be found at:

http://sweethome3d.cvs.sourceforge.net/sweethome3d/SweetHome3D/src/com/eteks/sweethome3d/MacOSXConfiguration.java?revision=1.17&view=markup

Maybe this can save some time for you.

Gerhard

Paul Libbrecht schrieb:
Hello Gerhard,

I'm afraid I did not.
But with recognizing -open the-filename on windows it works.
That's as far as I could get. Not very brilliant!

I would port it back to list if you don't mind.

paul

--
Mit freundlichen Grüssen

Gerhard Hiller
Dipl.-Medieninformatiker (FH)
Systementwicklung

DIG
Digitale Medienberatungs- und Produktions- GmbH
Neckarstraße 1/5
78727 Oberndorf

Tel: +49 7423 8750 63
Fax: +49 7423 8750 23
Internet: http://www.dig.de
eMail: email@hidden

Amtsgericht Stuttgart HRB 480914
Geschäftsführer: Carsten Huber

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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.