# Show an desktop menu bar

**URL:** https://discourse.processing.org/t/show-an-desktop-menu-bar/9651
**Category:** Coding Questions
**Created:** [March 26, 2019, 4:19pm UTC](https://discourse.processing.org/t/show-an-desktop-menu-bar/9651 "2019-03-26T16:19:08Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)
#### Post date: [March 26, 2019, 5:06pm UTC](https://discourse.processing.org/t/show-an-desktop-menu-bar/9651/3 "2019-03-26T17:06:44Z")

</div>

thanks, but here ( Raspberry Pi ) i must use

```auto
// frame = (JFrame) (processing.awt.PSurfaceAWT.SmoothCanvas)app.getSurface().getNative()).getFrame();
    frame = (JFrame) ((processing.awt.PSurfaceAWT.SmoothCanvas)app.getSurface().getNative()).getFrame();

```

and in setup to see something, like

```auto
void setup() {
  size(500,500);
  buildMenuBar();
}

```

![2019-03-27_00-04-50_snap](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/4/459c777caa85f8c56b8a0e1fc11fc9d0bd65f0fa.png)

---

_[View the full topic](https://discourse.processing.org/t/show-an-desktop-menu-bar/9651)._
