Advertisement
Guest User

Untitled

a guest
May 5th, 2015
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. +    
  2. +    private class CaixaDeEscrita implements ActionListener {
  3. +        public void actionPerformed (ActionEvent e){
  4. +            String texto=null;
  5. +            texto = JOptionPane.showInputDialog("texto");
  6. +            JOptionPane.showMessageDialog(null, texto);
  7. +            String string1 = new String(texto);
  8. +            System.out.println(string1);
  9. +        }
  10. +    }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement