# Customizing the designer menu

**URL:** <https://forum.inductiveautomation.com/t/customizing-the-designer-menu/7308>\
**Category:** Module Development\
**Created:** [September 24, 2013, 4:59am UTC](https://forum.inductiveautomation.com/t/customizing-the-designer-menu/7308 "2013-09-24T04:59:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoreThanCarbon](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@MoreThanCarbon](https://forum.inductiveautomation.com/u/MoreThanCarbon)\
**Post date:** [September 24, 2013, 4:59am UTC](https://forum.inductiveautomation.com/t/customizing-the-designer-menu/7308/1 "2013-09-24T04:59:10Z")

</div>

Is there any way to add a menu item to the menu bar on the designer? Sorry but I’m new to this stuff.

---

<div class="post-metadata">

**Author:** ![nclemeur](https://avatars.discourse-cdn.com/v4/letter/n/b5e925/32.png) [@nclemeur](https://forum.inductiveautomation.com/u/nclemeur)\
**Post date:** [September 24, 2013, 11:42pm UTC](https://forum.inductiveautomation.com/t/customizing-the-designer-menu/7308/2 "2013-09-24T23:42:23Z")

</div>

I have never done it, but it seems you can try the following:

```auto
JFrame frame = designerContext.getFrame();
JMenuBar menuBar = frame.getJMenuBar();
//customisation comes below
```

---

<div class="post-metadata">

**Author:** ![MoreThanCarbon](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@MoreThanCarbon](https://forum.inductiveautomation.com/u/MoreThanCarbon)\
**Post date:** [September 26, 2013, 2:35am UTC](https://forum.inductiveautomation.com/t/customizing-the-designer-menu/7308/3 "2013-09-26T02:35:42Z")

</div>

Thanks, that helped. I tried something similar but I kept trying to use designerContext.getFrame() as a Frame instead of a JFrame. Here’s what worked:

```auto
JFrame frame = (JFrame) context.getFrame();
JMenuBar menuBar = frame.getJMenuBar();
```
