views:

48

answers:

2

I am using Jar Bundler to create a .app file out of my .jar file. When I launch the app, I do not want a dock icon to show at all.

I have already tried modifying my .plist file to include:

<string>NSUIElement</string>
<key>1</key>

But it does not work... Any help?

+3  A: 

I think your tags are backwards.

<key>NSUIElement</key>
<string>1</string>

You may also try:

<key>LSUIElement</key>
<string>1</string>
nicerobot
Using Property List Editor to edit the plist helps you avoid a lot of mistakes like this.
Mike Baranczak