# MenuBar Beans

**URL:** <https://forum.servoy.com/t/menubar-beans/7458>\
**Category:** Classic Servoy\
**Created:** [May 7, 2007, 1:16pm UTC](https://forum.servoy.com/t/menubar-beans/7458 "2007-05-07T13:16:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![a2Pink](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@a2Pink](https://forum.servoy.com/u/a2Pink)\
**Post date:** [May 7, 2007, 1:16pm UTC](https://forum.servoy.com/t/menubar-beans/7458/1 "2007-05-07T13:16:14Z")

</div>

Here is the code

```auto
//Add Menu Items to the Menu
elements.menu_file.add(elements.menu_item_new, "New", 0);
elements.menu_file.addSeparator();
elements.menu_file.add(elements.menu_item_open, "Open", 1);

//Add Menu to the Menu Bar
elements.menu_bar.add(elements.menu_file,"File",0);

```

I am sure there is something wrong in the code.  
The Menu is not displaying properly.  
**Please, any help?**

---

<div class="post-metadata">

**Author:** ![a2Pink](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@a2Pink](https://forum.servoy.com/u/a2Pink)\
**Post date:** [May 7, 2007, 1:29pm UTC](https://forum.servoy.com/t/menubar-beans/7458/2 "2007-05-07T13:29:05Z")

</div>

**Any Help?**

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [May 7, 2007, 1:36pm UTC](https://forum.servoy.com/t/menubar-beans/7458/3 "2007-05-07T13:36:36Z")

</div>

There is a great plugin that will create a real menubar (not one in a bean): [Servoy Components – Plugins, Beans, Web Components, Angular Services & Servoy Developer Consulting](http://it2be.com/plugins.htm#menubar)

And again: you are asking about the functionality of a non-Servoy component, that is purely Java…
