|
#1
| |||
| |||
| Hi folks !! HELP !! HELP !! I am completely stumped here. How do we create JMenubar in Swing which would position permanently on the OS X menu bar ? I went through the OS X-Java documentation and found that it does not provide any details on how to go about doing this. Any sample code for this would be a GOD-SEND !!! Thanks. |
|
#2
| ||||
| ||||
| If you start your app like this it will work. java -Dcom.apple.macos.useScreenMenuBar=true appname When making double clickable applications wit MRJAppBuilder you can set this permanently for your app. You DON'T get a truly global menu bar this way (or any other way I know of) the active window just displays it's menu bar at the right place, so you have to have the same menubar attached to every window. Some guy at Apple promised to post code for having a global menubar, but still nothing at http://developer.apple.com/samplecod..._Code/Java.htm
__________________ G4 500 MP 1024 MB RAM LaCie Electron 22" Display OS X 10.3.9 iMacDV MacMini iSight iPod + iPod Mini Sony PC100E FireWire Cam Static IP via a FreeBSD server/gateway a lot of other Mac's running Macos 7.5 to 9.1 and NetBSD. A Few Wintel's on the side (I only use them when I get paid by the hour) |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to code a system menu bar item? | michaelsanford | Software Programming & Web Scripting | 5 | October 2nd, 2003 01:10 PM |
| Java reld : How to place Java Swing's menubar on the OS X main menu bar ? | iluvosx | Mac OS X System & Mac Software | 2 | August 21st, 2002 01:24 PM |
| Login pause for 20 sec. - displays menu bar icon | jasonbarak | Mac OS X System & Mac Software | 0 | April 18th, 2002 08:34 AM |
| MenuBar using java | lelereb | Software Programming & Web Scripting | 1 | September 24th, 2001 05:31 AM |
| The final menu bar solution! | strobe | Mac OS X System & Mac Software | 33 | April 10th, 2001 03:42 AM |