Java System.setProperty  (get JMenuBar on mac menu bar)

Hi,
I am currently building a Java application using Eclipse IDE. I have written GUI programs on OS X 10.4 before and managed to get the JMenuBar on the mac menu bar using
System.setProperty("apple.laf.useScreenMenuBar", "true");
But for some reason when using leopard the JMenuBar seems to disappear totally. When i don't use the above line it shows on the JFrame as it should do.
System.setProperty("com.apple.mrj.application.apple.menu.about.name", "AppName");
The above line doesn't work either with OS X 10.5
Anyone have any experience with this and had any success?
Thanks,
Sion

Hi Sion
Welcome to Apple Discussions.
You might be able to work around these problems using Jar Bundler, which takes a Jar file and converts it into a Mac OS X application. One of the options is to use the top line menu bar (instead of having it at the top of the frame).
Find Jar Bundler in /Developer/Applications/Java Tools
Bob

Similar Messages

  • How do I get rid of the menu bar icon on Mac OS?

    The Creative Cloud menu bar icon on Mac OS is pretty much useless since I already have icons for all the apps and don't use Adobe Cloud storage. Anyone know how to get it off my menu bar? The menu bar is MY space. I ought to have control over what goes there. If every application starts dumping stuff there it will quickly become a mess. I want the option to turn this off.
    Thanks!

    Most videos play "inline", not full screen, on Safari on iPad.  You can use a quick "reverse pinch" gesture (as if you were zooming in, but more of a quick flick than a slow zoom) on top of the video to make it full screen.

  • I am having trouble getting mail from the server that my new iMac is connected to. I have to reboot the system to get Outlook for Mac to access the system. Any ideas?

    I am having trouble getting mail from the shaw server that my new iMac is connected to. I have to reboot the system to get Outlook for Mac to access the system and obtain new messages. Any ideas? Its at the point where I have started using the PC again as its less trouble.......

    In Firefox 3.6.4 and later the default connection settings have been changed to "Use the system proxy settings".<br />
    See "Firefox connection settings" in [[Server not found]]
    You can find the connection settings in "Tools > Options > Advanced : Network : Connection"<br />
    If you do not need to use a proxy to connect to internet then select No Proxy

  • Can't access top of photoshop window under mac menu bar

    The top of my Photoshop window has slipped under the Mac menu bar-and I can't acces it. I've tried re launching PS, it opens in the same position. I've tried the tapping the F key- does not solve it. I've tried different work spaces- still the same. I've tried using mission control- it lets me see the top bar in the photoshop window, then when I choose it, it's still the same.
    Is there any way to hide the mac menu bar when I have PS open so I could grab the title bar and bring it down?
    HELP- Thanks

    I tried everything suggested here and on other sites and nothing* would work for me. I luckily have other monitors plugged into my laptop and when I unplugged one, the top of the Photoshop title bar showed up on another monitor.
    * I tried changing my resolution to a larger resolution and when that didn't reveal it, I changed the orientation of my one of my attached monitor. I could see the top of the title bar then on another monitor, but since I couldn't control my mouse easily and get it back to my main monitor/laptop where the system preferences box was, it timed out on me and I wasn't able to grab the title bar of Photoshop. I only mentioned all that because if someone is not working on multiple screens and the resolution trick doesn't work for them, maybe try changing the orientation...but that was only an option for my attached monitor. So maybe none of this is a helpful tip. Sorry!

  • Title Bar hidden behind Apple Mac menu bar

    Hi
    I am using Elements Organizer 12.1 and, for some reason, the title bar is hidden behind my Apple Mac menu bar.  Does anyone know how to click behind the menu bar so I can access the Elements title bar?
    Thanks
    Richard

    The first thing to try is to go to system preferences>displays and set your screen resolution down as far as it will go. You may need to try a few different settings, but eventually it may snap back into place and then you can go back to the correct setting for your display.

  • HT5517 how do I get airplay in my menu bar?

    how do I get airplay in my menu bar?

    Airplay mirroring requires a Mac from 2011 or later, running OSX 10.8 or later.

  • HT4929 how do I get ICloud on my menu bar for email only?

    how do I get ICloud on my menu bar for email only? I have snow leopard so I do not have all the requirements for I Cloud.

    I have asked for your email address to be edited out. Posting your address in an open thread is a sure way to be bombarded by unwanted email, remember it will be here long after you have resolved your problem, for automated detection software to find.
    If you want people to contact you, enable others to see your email address in your profile.

  • Restore Mac Menu Bar

    I would like to know how to restore the black text on the Mac MenuBar Right now, my text is a grey color (almost as if the options are disabled). I have provided an image below. This happened, I think, after I used this software.
         If I uncheck the "Transulent Menu Bar" in System Prefrences, I get this:
         I would like it to look like this:
    Thanks for any help!
    Colby

    Any time you install a hack like this, you run a risk that it may not be reversible. I suspect that this hack probably modified some part of the system and did not properly restore it when it "removed" itself. Try contacting the developer... but you'll need to be prepared if he/she is unresponsive.
    If you have a backup of your system from before you installed that hack, you should restore to that backup. Otherwise, you could try reinstalling the system on top of your existing system. This will restore any modified or removed files.
    By the way, note that running as root on a normal basis is an astoundingly bad idea. In fact, enabling the root user at all isn't a very good idea. This doesn't help you now, but you should not do this in the future.

  • How do I remove the Adobe updater from the Mac menu bar?

    I would like to remove the Adobe Updater from my menu bar for my Mac, I found a lot of instruction to remove it for other versions of the updater, but the I can't find that option in the new CS6 updater.
    If there is a way to completely stop the updater from running, that would be useful too.
    I also don't understand why the updater say "4" in the menu bar, I only have Photoshop installed, and there are no update avaiable.

    I am one of the many for whom Application Manager just started to crash every time I tried to open it. I was also getting the 'trial' dialog box, then a request for a serial number, even though I subscribe to Creative Cloud.
    After hours with Adobe Tech Support, I have gone the around-your-elbow-to-get-to-your-mouth method of creating a second user and installing CC apps there...hopefully this is temporary situation, but a girl has to work.
    My question is this: how do I remove the updater notifications from the menu bar [original user] if I can't open Application Manager? It crashes every time...besides, Tech Support had me send it to the trash and delete it. I went to my other user ID, updated all, but I'm still showing the annoying update badge in my original menu bar. [Altho' Camera Raw failed to update...that's another issue]
    Please advise. I had CS5.5 Design Premium...maybe it would be easier just to upgrade that to CS6 and ditch Creative Cloud!
    Thanks in advance.

  • Software Update + System Preferences won't launch from menu bar

    For some reason, I cannot launch Software Update or System Preferences from the apple menu bar. This happened after I quit Parallels. I can open System Preferences from Applications. I tried launching Software Update from About this Mac, and that didn't work either. Is there something I can do in Terminal?
    Thanks in advance,
    Eric

    Hi Eric, I doubt Terminal would be the way to go.
    Have you done Disk Maintenance with Disk Utility lately?
    Using Disk Utility in Mac OS X 10.4.3 or later to verify or repair disks...
    http://docs.info.apple.com/article.html?artnum=302672
    About Disk Utility's Repair Disk Permissions feature...
    http://docs.info.apple.com/article.html?artnum=25751

  • Is their a way to restore my mac menu bar to factory settings?

    Hi Everyone,
    I am a software trainer, and as a result, when I present my classes, I remove all the menu items from my menu bar on my MacBook Pro so as to create a clean workspace. The problem is, I actually want all of those menulet's there the other 99% of the time, and after every class I teach, I have to one by one go through the system pref's to turn them back on. I use the same menulet's that come with the mac out of the box, so is their a way of restoring the menu to factory settings with a couple of clicks? You know, kind of like how you can reset your home page layout on an iPhone or iPad?
    Thanks in advance...
    Jack

    Thanks OrangeMarlin, I thought of doing that for a while but for some reason always dismissed it. That makes total sense because then not only can I have a nice clean menu bar but I don't have to worry about students seeing my personal files.
    Thanks!

  • My firefox home page takes up the whole page of my screen. I want to get back my toolbar & menu bar. How do I do this?

    I somehow made it full screen with a click

    Hey,
    As ideato suggested, F11 will do the job on Windows.
    But that only brings you back from the full screen mode.
    If you wish to get back your toolbar and menu bar, left click
    on Firefox.
    There you will find Options.
    When you click on options, you will find Menu Bar and Navigation Toolbar.
    Simply selecting them will do the job (if they are not already selected).

  • Do not show the Mac menu bar and the Dock in full-screen mode option not available

    "Remote Desktop Connection" for mac has an option to
    hide the menu bar in full screen mode.  I am unable to locate this option in the new
    Microsoft Remote Desktop.  Without this option the remote desktop connection bar becomes completely inaccessible.  And since the old "remote desktop connection" program has poor support for windows 8.1 I cannot go back.
    Is there a workaround?  Can you please add this important feature back in?
    Blog

    H,
    I am afraid that we have no solution or workaround for this. I will help to submit this as a customer wish to the product team.
    Thanks for the feedback.
    Jeremy Wu
    TechNet Community Support

  • Mac Menu Bar Unresponsive in Dreamweaver CS 5.5

    Hi all,
    I keep having the same problem where when I try to click on menu bar items in DW (file, edit, view, etc), they won't do anything when clicked, and it seems like there's a delay when items are highlighted on mouse over.  Anyone else having a simiar problem & know how to fix?  Thanks!
    Dreamweaver 11.5 Build 5344
    Mac OS X 10.6.8
    iMac 2.8 GHz Intel Core i5
    4 GB RAM

    First, disable any extensions to make sure it's not a bad extension causing the menu issue.  Sometimes extension can alter the menus and if something was wrong, then it could be causing your issue.  If not try deleting this configuration folder: http://kb2.adobe.com/cps/405/kb405604.html#main_user_config

  • Get iComment off my menu bar

    iComment keeps popping up on my screen. I de-installed the program however it appears on my menu bar and keeps asking me to register. How do I get rid of it?

    You should be able to remove it from the add-ons manager, for details see https://support.mozilla.com/kb/Uninstalling+add-ons

Maybe you are looking for