# JOptionPane and Strings

**URL:** https://discourse.processing.org/t/joptionpane-and-strings/3049
**Category:** Beginners
**Created:** [August 28, 2018, 2:21am UTC](https://discourse.processing.org/t/joptionpane-and-strings/3049 "2018-08-28T02:21:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pcoderbasic](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@pcoderbasic](https://discourse.processing.org/u/pcoderbasic)
#### Post date: [August 28, 2018, 2:21am UTC](https://discourse.processing.org/t/joptionpane-and-strings/3049/1 "2018-08-28T02:21:38Z")

</div>

Hi, where can i get some sort of reference for fetching some strings via JOptionPane and then later displaying them on console

---

<div class="post-metadata">

### Author: ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)
#### Post date: [August 28, 2018, 2:40am UTC](https://discourse.processing.org/t/joptionpane-and-strings/3049/2 "2018-08-28T02:40:43Z")

</div>

When I have a question like this, the first thing I’ll do is hit Google. Doing a search for “java joptionpane” returns a ton or results, including this one:

[https://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html](https://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html)

That page lists various functions for displaying dialogs and getting input.

---

<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: [August 28, 2018, 10:16am UTC](https://discourse.processing.org/t/joptionpane-and-strings/3049/3 "2018-08-28T10:16:42Z")

</div>

> [@Getting User input](https://discourse.processing.org/t/getting-user-input/1670/2):
>
