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: useScreenMenuBar not working in Java Web Start



As Greg says, take the "-Dapple.laf.useScreenMenuBar=true" out of the VM args. That will likely cause Web Start to shut down and restart your application, which almost always is not want you want.

But, once you do that, I think you're going to still be out of luck, as -XstartOnFirstThread and Web Start don't work together. Do you really need to use that? Are you using the SWT?  If not, don't use it.

Scott

On Sep 29, 2006, at 4:34 PM, Carlos Martins wrote:

<resources os="Mac OS X">
    <jar href="lib/quaqua.jar"/>
    <jar href="lib/sunset-osx-adapter.jar"/>
    
    <property name="apple.laf.useScreenMenuBar" value="true" />
    <property name="apple.awt.showGrowBox" value="false" />
    
    <j2se version="1.5+" initial-heap-size="64M" max-heap-size="348M"  java-vm-args="-XstartOnFirstThread -Dapple.laf.useScreenMenuBar=true" />
    
  </resources>
  
  <application-desc main-class="com.audaxys.fw.rcl.SunsetClientServer"/>

------------------
Scott Kovatch
Apple Computer
Java Runtime Classes
Cleveland Hts, OH
email@hidden

I am Scott Kovatch, and I approved this message.

 _______________________________________________
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: 
 >useScreenMenuBar not working in Java Web Start (From: Carlos Martins <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.