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: Java Web Start useScreenMenuBar on Tiger



you have to call that function BEFORE instantiation of any GUI related classes
for example
if you have you class Foo


public class Foo extends JPanel{

    public static void main(String []args){
        System.setProperty("apple.laf.useScreenMenuBar", "true");
    }

}

that's probably won't work


but if you will have somethink like that


public class FooLauncher{ public static void main(STring []args){ System.setProperty("apple.laf.useScreenMenuBar", "true"); Foo.main(args); } }

that probably will work




On Apr 30, 2005, at 5:48 PM, Jeff Martin wrote:

It's good that this is documented, but the suggested workaround doesn't work for me. I tried making the:

    System.setProperty("apple.laf.useScreenMenuBar", "true");

The first line in my app, and I also tried adding this to my JNLP:

    <property name="apple.laf.useScreenMenuBar" value="true" />

But both approaches seem to be a bust. Any other ideas?


jeff



On Apr 30, 2005, at 12:50 PM, Hsu wrote:


When I run my web start app on Tiger, it seems to ignore the useScreenMenuBar setting:



http://developer.apple.com/releasenotes/Java/Java142RNTiger/ 3_OutstandingIssues/chapter_4_section_3.html


Radar 3909714

Karl

--

What is life? A frenzy…
What is life? An illusion,
a shadow, a fiction,
and the greatest possession is nothing
since life is but a dream
and dreams are but dreams…

Homepage:
     http://homepage.mac.com/khsu/index.html



_______________________________________________ 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


Dmitry Markman

_______________________________________________
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: 
 >Re: Tiger shipping with Java 1.4 (From: Shawn Erickson <email@hidden>)
 >Re: Tiger shipping with Java 1.4 (From: Shawn Erickson <email@hidden>)
 >Java 5 is available, grab it while it's hot... (From: Ralph Scheuer <email@hidden>)
 >Re: Java 5 is available, grab it while it's hot... (From: Andy <email@hidden>)
 >Re: Java 5 is available, grab it while it's hot... (From: Shawn Erickson <email@hidden>)
 >Java Web Start useScreenMenuBar on Tiger (From: Jeff Martin <email@hidden>)
 >Re: Java Web Start useScreenMenuBar on Tiger (From: Hsu <email@hidden>)
 >Re: Java Web Start useScreenMenuBar on Tiger (From: Jeff Martin <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.