# Windows style dialogue boxes

**URL:** https://discourse.processing.org/t/windows-style-dialogue-boxes/22147
**Category:** Coding Questions
**Created:** [June 25, 2020, 12:29am UTC](https://discourse.processing.org/t/windows-style-dialogue-boxes/22147 "2020-06-25T00:29:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![F53](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/f53/32/7118_2.png) [@F53](https://discourse.processing.org/u/F53)
#### Post date: [June 25, 2020, 12:29am UTC](https://discourse.processing.org/t/windows-style-dialogue-boxes/22147/1 "2020-06-25T00:29:08Z")

</div>

I would like to use windows 10 style dialogue boxes, where should I start looking in-order to learn how do this within processing?

> **The provided dialogue boxes in processing feel dated and seemingly cant return a value**
>
> Processing:  
> ![Processing_Dia](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/1/1f0b779ed7502d6eafe0ccdefe06d7cd56a3eac0.png)  
> What I want to achieve:  
> ![Untitled](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/1/12ce60b7b65a0e796c73fb65141cd1303c229add.png)

---

<div class="post-metadata">

### Author: ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)
#### Post date: [June 27, 2020, 10:37pm UTC](https://discourse.processing.org/t/windows-style-dialogue-boxes/22147/2 "2020-06-27T22:37:51Z")

</div>

Hi,

Which function did you use to open that dialog box in Processing?

---

<div class="post-metadata">

### Author: ![F53](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/f53/32/7118_2.png) [@F53](https://discourse.processing.org/u/F53)
#### Post date: [July 24, 2020, 6:30am UTC](https://discourse.processing.org/t/windows-style-dialogue-boxes/22147/3 "2020-07-24T06:30:11Z")

</div>

Hi, sorry for the delay, I found the solution to my problem and forgot to check the forum afterwards.

I have lost the original dialogue thing I was using, but found a better solution, that fits the criteria I was looking for:

```auto
boolean message(String title, String message){
  //println("msg: " + message);
  return showConfirmDialog(null, message, title, YES_NO_OPTION) == YES_OPTION;
}

```

---

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [July 24, 2020, 6:39am UTC](https://discourse.processing.org/t/windows-style-dialogue-boxes/22147/4 "2020-07-24T06:39:41Z")

</div>

Oh, I had something like that here: 😋

> <https://github.com/GoToLoop/Inputs/blob/patch-1/src/Inputs2.java#L52-L54>

---

<div class="post-metadata">

### Author: ![F53](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/f53/32/7118_2.png) [@F53](https://discourse.processing.org/u/F53)
#### Post date: [July 24, 2020, 6:41am UTC](https://discourse.processing.org/t/windows-style-dialogue-boxes/22147/5 "2020-07-24T06:41:42Z")

</div>

That was the post I found the solution I was using in!

it also has more UI stuff that looks like windows, so its a better solution
