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: Start Swing app after users log in but minimized



Hi Nicu,

I think simply making the application hidden, like the previous poster said, will do exactly what you want. 

Making an application hidden on OS X is essentially equivalent to minimizing it on Windows; the window goes away, but the dock icon stays. 

The "minimize" button on OS X is actually less similar to a Windows minimize, since it will "move" the window off the screen and put a graphical representation of it in the dock, in addition to it's dock icon (in Windows you just have the taskbar icon).
 
And incidentally, running it as hidden should hide the splash screen too. 


Adam Ohren

"God does not play dice."
-- Albert Einstein



On Jul 21, 2007, at 8:09 AM, email@hidden wrote:

In the loginwindow.plist, add the key/value

<key>Hide</key>
<true/>

Or is there something else?

On 21 Jul 2007, at 08:44, Nicolae Cismaru wrote:

Hello,

I'm working on a Java application that is already working on Windows but I also have to make it to
run on Mac.

Users can configure it to start automatically after they log in. It does this on Windows but I
don't know how to do it on Mac. I've already figured how to start it when a user logs in (using
~/Library/Preferences/loginwindow.plist) but I want to start it minimized.

If it starts automatically, I don't want it to show the splash screen and I also want it to be
hidden. The application can be configured with the help of a parameter to run minimized and
without the splash screen (I've already done it on Windows).

Can I start the application and pass it that parameter directly? Do I have to create an additional
script? I've seen that other Java applications like LimeWire are using a helper application to
start after login.


Thanks,
Nicu



____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
 _______________________________________________
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

_______________________________________________
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

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: 
 >Start Swing app after users log in but minimized (From: Nicolae Cismaru <email@hidden>)
 >Re: Start Swing app after users log in but minimized (From: 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.