Results 1 to 7 of 7
  1. #1
    willemjav is offline Senior Member
    Join Date
    Dec 2007
    Location
    Spain
    Posts
    1,075
    Rep Power
    8

    Default The Desktop Menu Bar, who to get there

    I know how to add menu items to a JMenu, and add them to a menu bar. The bar is finally added to a JFrame, the main window of a stand-alone application.

    But what happens when you want to add menus to the Desktop menu of a MAC OS?
    How to get hold of the bar of the Desktop?
    (The stand-alone application which I wrote until now show only one menu (with the name of the application) with some standard stuff and a exit menu item, which java creates all by itself, right!).


    Where to start looking?
    Creating Desktop menu bars?
    Last edited by willemjav; 01-07-2014 at 04:37 PM.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is online now Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,987
    Rep Power
    9

    Default Re: The Desktop Menu Bar, who to get there

    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    willemjav is offline Senior Member
    Join Date
    Dec 2007
    Location
    Spain
    Posts
    1,075
    Rep Power
    8

    Default Re: The Desktop Menu Bar, who to get there

    No,Kevin! It is the very up top menu bar on a mac desktop.
    The one that always contains the current application menus and the apple, apple on the very left.
    That tray of your link (I saw it before) is a typical pc thing, not present on mac.

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is online now Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,987
    Rep Power
    9

    Default Re: The Desktop Menu Bar, who to get there

    Quote Originally Posted by willemjav View Post
    That tray of your link (I saw it before) is a typical pc thing, not present on mac.
    Are you sure? Did you try it out on a mac? Just because the example pictures are Windows does not mean that's the only place it works.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    willemjav is offline Senior Member
    Join Date
    Dec 2007
    Location
    Spain
    Posts
    1,075
    Rep Power
    8

    Default Re: The Desktop Menu Bar, who to get there

    The system tray and the task bar are at the bottom of a pc:

    System Tray - Google Search

    Taskbar - Wikipedia, the free encyclopedia

    They are not the top (apple) menu bar!

  6. #6
    KevinWorkman's Avatar
    KevinWorkman is online now Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,987
    Rep Power
    9

    Default Re: The Desktop Menu Bar, who to get there

    Well shucks, good luck then!
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    willemjav is offline Senior Member
    Join Date
    Dec 2007
    Location
    Spain
    Posts
    1,075
    Rep Power
    8

    Default Re: The Desktop Menu Bar, who to get there

    Thanks kevin, anyway.

Similar Threads

  1. Desktop app on an off-focus desktop
    By thommy_lobo in forum Advanced Java
    Replies: 0
    Last Post: 11-09-2009, 06:56 AM
  2. Fill a menu dynamically when menu is shown
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 04:47 PM
  3. How to use SWT menu and menu event
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 04:46 PM
  4. React to menu action and checkbox menu
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-27-2008, 07:50 PM
  5. Replies: 7
    Last Post: 05-09-2008, 07:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •