Bug 64572 - [50cat] branding application: apple.laf.useScreenMenuBar=true
[50cat] branding application: apple.laf.useScreenMenuBar=true
Status: NEW
Product: apisupport
Classification: Unclassified
Component: Harness
Macintosh Mac OS X
: P2 (vote)
Assigned To: pgebauer
: 181341 (view as bug list)
Depends on: 64573
  Show dependency treegraph
Reported: 2005-09-16 20:35 UTC by lordy
Modified: 2015-09-09 11:22 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description lordy 2005-09-16 20:35:50 UTC
[ BUILD # : 200509151800 ]
[ JDK VERSION : 1.5.0_02 ]

Try feedreader-suite example, and "build ZIP Distribution". When 
running it on Mac OS X the Menu is not Mac OS X Application 

fix: replace in etc/feedreader.conf:
default_options="-J-Xms24m -J-Xmx64m -J-
Dnetbeans.logger.console=true -J-ea"

default_options="-J-Xms24m -J-Xmx64m -J-
Dnetbeans.logger.console=true -J-ea -J-

Try "Run JNLP Application" the same thing. Fix is add dist/jnlp/
    <property name="apple.laf.useScreenMenuBar" value="true"/

    <property name="netbeans.user" value="$
Comment 1 Jesse Glick 2005-09-16 20:44:04 UTC
Sounds reasonable. Yarda can you try it?
Comment 2 Jesse Glick 2005-09-16 20:59:23 UTC
However since we will not do issue #64573 for 5.0 anyway, I am not sure if it is
wise to turn on the Mac menu bar by default, since it would not be fully
compliant with Apple guidelines.
Comment 3 lordy 2005-09-16 21:47:45 UTC
I think #64573 has nothing to do with this. apple.laf.useScreenMenuBar is on in NetBeans 5.0 IDE by 
default and in most other big java apps i know. Also i can't remind about any issue with 
apple.laf.useScreenMenuBar post in the apple mail list. So I see no reason not to trun it on.
Comment 4 Jesse Glick 2005-09-16 21:55:33 UTC
"apple.laf.useScreenMenuBar is on in NetBeans 5.0 IDE by default" - exactly: we
turn it on because we have done the work in ide/applemenu to make it look
decent. The question is whether a typical Mac user would be more comfortable
with a frame menu that looks like it would on other platforms; or a Mac menu
which mostly works but does not have conventional bindings for About, Quit, etc.
If you think going halfway is acceptable, then fine - we can do that easily enough.
Comment 5 lordy 2005-09-19 13:53:08 UTC
I think a frame menu look ugly on Mac OS X. And i know more professionally application which think going 
halfway is acceptable then professionally application that use frame menu. So please turn it on.
Comment 6 Jaroslav Tulach 2005-11-22 19:08:03 UTC
No way I could do this before issue 64573 is fixed. 
Comment 7 Jesse Glick 2010-03-01 09:10:24 UTC
*** Bug 181341 has been marked as a duplicate of this bug. ***
Comment 8 stefika 2010-03-01 09:17:15 UTC
I would actually prefer to be able to set this to either on/off in the module suite. The reason is that, while the screen menu tools certainly look nice, the apple screen menu doesn't fire events properly back to the JDK (e.g., selection events, focus events). 

For many developers, this might not matter, but for our team, we use these events to fire appropriate information to blind users on Mac OS X. Our code breaks completely with the screen menu code, and as such, we have to turn it off, despite that fact that, as lordy says, it looks a little funny.
Comment 9 stefika 2010-03-01 09:22:52 UTC
I've thought about this more. I think what be nice is that, if you right click on your module suite and click properties, instead of just Sources, Libraries, Application(etc), there was another module wide option called Settings, where the developer can set flags like this, either by allowing you to directly modify what the .conf file generated would be, or otherwise by just giving you a small selection of possible options that you can set.
Comment 10 Jaroslav Tulach 2012-06-20 14:22:17 UTC
Mac OS X stuff.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo