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: Application name in JWS



Hi Jeff,

On 6 Nov 2009, at 19:56, Jeff Palmer wrote:

The name of my applications in the Apple Menu initially takes on name in the Title tag of my JNLP for a second, then the name changes to com.sun.javaws.Main .

In development, Netbeans, the name is the class name. I can put in the command line arg -Xdock:name='Sample Name' & this changes it permanently.

I tried adding this in the resources tag of the JNLP, but nothing different happened
<j2se version="1.6+" java-vm-args="-DXdock:name='Sample Name' - Dapple.awt.graphics.UseQuartz=true - Dapple.laf.useScreenMenuBar=true"/>
^^^^^^^^^^^^^^^^^^^^^^^^^
Xdock:name is a java command line option not a system property. So you should use


-Xdock:name='Sample Name'
and not -DXdock:... in your JNLP file.

HTH,
--
Tomas Hurka   <mailto:email@hidden>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic



_______________________________________________
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: 
 >Application name in JWS (From: Jeff Palmer <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.