Skip to content

Instantly share code, notes, and snippets.

@DavidBernalGonzalez
Created May 18, 2019 16:20
Show Gist options
  • Save DavidBernalGonzalez/662ae9976e9af5b1f7c29e70474e93dc to your computer and use it in GitHub Desktop.
Save DavidBernalGonzalez/662ae9976e9af5b1f7c29e70474e93dc to your computer and use it in GitHub Desktop.
JOptionPane3
import javax.swing.JOptionPane;
public class Main {
public static void main(String[] args) {
String msg = JOptionPane.showInputDialog(null, "Introduce un mensaje");
System.out.println(msg);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment