# Use javax.swing

**URL:** https://discourse.processing.org/t/use-javax-swing/17669
**Category:** Coding Questions
**Created:** [February 9, 2020, 5:31pm UTC](https://discourse.processing.org/t/use-javax-swing/17669 "2020-02-09T17:31:52Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)
#### Post date: [February 9, 2020, 5:39pm UTC](https://discourse.processing.org/t/use-javax-swing/17669/2 "2020-02-09T17:39:47Z")

</div>

You can check previous post in the forum with the keyword JFrame. For instance, I found this one:

> [@Show an desktop menu bar](https://discourse.processing.org/t/show-an-desktop-menu-bar/9651/3):
>
> thanks, but here ( Raspberry Pi ) i must use // 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 void setup() { size(500,500); buildMenuBar(); } [2019-03-27\_00-04-50\_snap]

Kf

---

_[View the full topic](https://discourse.processing.org/t/use-javax-swing/17669)._
