Handling Opening Files
Michael Hall
mik3hall at gmail.com
Mon May 5 09:03:26 UTC 2014
> Joshua Smith wrote:
>> I’ve finally bitten the bullet and moved over to Java 7 on Mac.
>>
>> The only thing I’m stuck on is handling opening files when they are double-clicked in the Finder or dropped on my program in the Dock.
>>
>> Are there any changes required to the file handling stuff in Info.plist for Java 7, or should one that worked with the previous Java still work?
>>
>> Previously, I had this to handle the files:
>>
>> com.apple.mrj.MRJApplicationUtils.registerOpenDocumentHandler(m);
On May 5, 2014, at 2:13 AM, Ivan Nikitin <ivan at nikitin.io> wrote:
> Hi Joshua,
>
> We also have Document types record in the Info.plist file of our bundle:
>
Unchanged from Java 6 to Java 7. There should be no plist differences. No other differences either really, the Java 7 is as far as I know the Apple Java 6 contributed code.
Michael Hall
trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz
HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe
AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter
More information about the macosx-port-dev
mailing list