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: Java application appearing in Dock




On Dec 13, 2006, at 4:55 AM, Andrew Williams wrote:

Hello all out there, first post for me.

I am working on some java build software (Maven if anyone knows that)
and we are putting a new launcher in place. This all works fine as
expected, however I have encountered a small issue.

Every time the main class starts it creates an icon in the Dock and
creates a Menu at the top of the screen, stealing focus. This is quite
annoying, especially if running it many times on an integration test or
such.
Can anyone point out what I might be doing to cause this? I have not
done much OSX development before.

To understand what affects this, especially if you intend to end up with a application bundle when you're done you might want to take a look at...


http://developer.apple.com/documentation/Carbon/Conceptual/ LaunchServicesConcepts/LSCConcepts/chapter_2_section_4.html

this one looked useful as well if you want some different application behavior

http://developer.apple.com/technotes/tn2002/tn2062.html


Mike Hall mikehall at spacestar dot net http://www.spacestar.net/users/mikehall http://sourceforge.net/projects/macnative



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

References: 
 >Java application appearing in Dock (From: Andrew Williams <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.