# Help in implementing JMenuBar

**URL:** <https://forum.inductiveautomation.com/t/help-in-implementing-jmenubar/6075>\
**Category:** 3rd Party Modules\
**Created:** [March 21, 2013, 6:53pm UTC](https://forum.inductiveautomation.com/t/help-in-implementing-jmenubar/6075 "2013-03-21T18:53:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fahadfrq](https://avatars.discourse-cdn.com/v4/letter/f/85f322/32.png) [@fahadfrq](https://forum.inductiveautomation.com/u/fahadfrq)\
**Post date:** [March 21, 2013, 6:53pm UTC](https://forum.inductiveautomation.com/t/help-in-implementing-jmenubar/6075/1 "2013-03-21T18:53:38Z")

</div>

Is there any sample that explains how to properly wrap up JMenuBar in a module and use it for custom navigation? The Component example that comes with Ignition SDK is not very helpful in this regard. Any help is much appreciated.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [March 21, 2013, 8:32pm UTC](https://forum.inductiveautomation.com/t/help-in-implementing-jmenubar/6075/2 "2013-03-21T20:32:35Z")

</div>

No, we don’t have a specific example. However, JMenuBar is a JComponent and can be added to a Container like any other JComponent. So you can make your own component that has a JMenuBar inside of it:`JPanel p = new JPanel();
p.setLayout(new BorderLayout());
p.add(menubar, BorderLayout.NORTH);`
