Tomas,
I tried that permutation, and forgot to mention it. I even started making
errors in the jnlp, to make sure it was being read every time.
Thanks,
Jeff
On 11/6/09 4:04 PM, "Tomas Hurka" <email@hidden> wrote:
> 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