Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Preventing dock icon+menu bar showing when running a java app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preventing dock icon+menu bar showing when running a java app



Hello,

I am looking for information on what functions or APIs I *MUST NOT* call
in a Java utility so that the Apple JVM does not show the Java app icon
in the dock and the menu bar.

Background: I am calling a Java utility from the commandline, and
although it is not interactive, the generic Java app icon shows in the
dock briefly while the tool runs, and the default Java app menu bar is
shown. The problem is that it takes away focus from the shell (or any
other program running) for that time. I want to prevent this UI focus
switch since the Java tool is not interactive anyway.

I think I have seen some guidance on what NOT to call in the past, but
cannot find that info anymore. Any pointers? Or is there a way (a
property, e.g.) to force a Java tool not to be treated as an interactive app?

Thanks, Christian



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

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 © 2011 Apple Inc. All rights reserved.