Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +
- + private class CaixaDeEscrita implements ActionListener {
- + public void actionPerformed (ActionEvent e){
- + String texto=null;
- + texto = JOptionPane.showInputDialog("texto");
- + JOptionPane.showMessageDialog(null, texto);
- + String string1 = new String(texto);
- + System.out.println(string1);
- + }
- + }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement