# Title bar with close only

**URL:** https://discourse.processing.org/t/title-bar-with-close-only/37839
**Category:** Coding Questions
**Created:** [July 5, 2022, 9:14am UTC](https://discourse.processing.org/t/title-bar-with-close-only/37839 "2022-07-05T09:14:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Andry](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@Andry](https://discourse.processing.org/u/Andry)
#### Post date: [July 5, 2022, 9:14am UTC](https://discourse.processing.org/t/title-bar-with-close-only/37839/1 "2022-07-05T09:14:57Z")

</div>

Hello, there is a code to display only the close button on the title bar of the sketch

---

<div class="post-metadata">

### Author: ![TT3overnot](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tt3overnot/32/16608_2.png) [@TT3overnot](https://discourse.processing.org/u/TT3overnot)
#### Post date: [July 6, 2022, 6:32pm UTC](https://discourse.processing.org/t/title-bar-with-close-only/37839/2 "2022-07-06T18:32:03Z")

</div>

Absolutely, just use:  
`surface.setTitle("");`

---

<div class="post-metadata">

### Author: ![Andry](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@Andry](https://discourse.processing.org/u/Andry)
#### Post date: [July 6, 2022, 7:59pm UTC](https://discourse.processing.org/t/title-bar-with-close-only/37839/3 "2022-07-06T19:59:33Z")

</div>

Thanks, not untitled, but I was asking for no max / min and minimize buttons

---

<div class="post-metadata">

### Author: ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)
#### Post date: [July 6, 2022, 9:08pm UTC](https://discourse.processing.org/t/title-bar-with-close-only/37839/4 "2022-07-06T21:08:27Z")

</div>

Hi

> <https://stackoverflow.com/questions/43164781/how-to-add-close-and-minimize-button-to-processing-program>

---

<div class="post-metadata">

### Author: ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)
#### Post date: [July 6, 2022, 9:24pm UTC](https://discourse.processing.org/t/title-bar-with-close-only/37839/5 "2022-07-06T21:24:37Z")

</div>

> [@Is it possible to not have the generic windows close buttons and make your own close button?](https://discourse.processing.org/t/is-it-possible-to-not-have-the-generic-windows-close-buttons-and-make-your-own-close-button/2013):
>
> So I’m talking about applications like discord, they don’t have that ugly windows border around their application, the league of legends client also doesn’t have it, Photoshop also has a custom one. So I know it’s possible but is it possible in processing? And if not, in what language would this be possible?

---

<div class="post-metadata">

### Author: ![Andry](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@Andry](https://discourse.processing.org/u/Andry)
#### Post date: [July 7, 2022, 7:46am UTC](https://discourse.processing.org/t/title-bar-with-close-only/37839/6 "2022-07-07T07:46:31Z")

</div>

Hi, thanks this is an alternative.
