Advertisement
gastaojunior

exemploEntradaSwingJava

Mar 7th, 2012
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. package estrutura.de.dados;
  2.  
  3. import javax.swing.JOptionPane;
  4.  
  5. public class exemploEntradaSwing {
  6.  
  7.     public static void main(String[] args) {
  8.         String nome;
  9.         nome = JOptionPane.showInputDialog("Digite o seu nome por favor");
  10.         JOptionPane.showMessageDialog(null, "Obrigado por digitar o seu nome " + nome);
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement