Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Java 1.4.1 and ApplicationListener.handleOpenFile

Java 1.4.1 and ApplicationListener.handleOpenFile
Thread Tools
limepi
Fresh-Faced Recruit
Join Date: Jun 2001
Location: Crackton, Ontario
Status: Offline
Reply With Quote
Jun 15, 2003, 04:55 PM
 
Hi forum,

Has anyone been able to receive handleOpenFile calls on application startup? In 1.4.1, files that cause the application to launch won't call handleOpenFile, even if registering the listener is the first call made in the application.

Neither the com.apple.eawt.* packages nor the deprecated MRJ stuff work. It used to work in 1.3.1.

The net effect of this is that double-clicking on the application's documents while the app isn't running will cause the application to launch, but won't open the actual document. I'm porting a large Java-based app, and this is an unexpected and stubborn hurdle.

Thanks. And here's a bonus joke for anyone taking the time to read this: What package does a manic-depressive import? javax.mood.swing!
Pi is exactly 3!
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 10:48 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,