JOptionPane and Strings

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

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

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

1 Like