can I put custom text instead of menu at top of screen?

Discussion in 'Mac Programming' started by lazlo, Sep 7, 2008.

  1. macrumors newbie

    Joined:
    Jul 25, 2008
    #1
    I'm new to the Mac world so I hope this question is appropriate. I'm writing a Python/Java app in which the main menu appears inside the application window instead of at the top of the screen. Can anyone tell me how to put custom text at the top of the screen where Mac apps usually put the menu?
    Thanks in advance.
     
  2. macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #2
    You're going to need at least one menu, with the name of your application. You could set that to be something arbitrarily long, but it will still be a menu. Why are you breaking convention and changing how the menu is setup, though? This will break the way users normally interact with mac apps, which will lead to an inconsistent(and unpleasant) experience for them.

    -Lee
     
  3. thread starter macrumors newbie

    Joined:
    Jul 25, 2008
    #3
    Lee,
    Thanks for your advice regarding the LAF of Mac apps. I guess I'm still thinking in terms of the Windoze world. I'll take your advice.
    laz
     
  4. macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #4
    Probably for the best... these might help:
    http://developer.apple.com/samplecode/OSXAdapter/index.html
    http://developer.apple.com/document...pVMInfoRef/Articles/JavaSystemProperties.html

    I can't speak to how difficult this will be, as I have not tried it myself.

    You can also check out the Azureus/Vuze source:
    http://azureus.sourceforge.net/download.php

    Click "jar, jar torrent, source" to get to the source download link.

    It's main window doesn't "look" as native as some things, but it does integrate with the menu bar, etc.

    -Lee
     

Share This Page