Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package estrutura.de.dados;
- import javax.swing.JOptionPane;
- public class exemploEntradaSwing {
- public static void main(String[] args) {
- String nome;
- nome = JOptionPane.showInputDialog("Digite o seu nome por favor");
- JOptionPane.showMessageDialog(null, "Obrigado por digitar o seu nome " + nome);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement