What does everyone think about this as a simple trainer for little kids on how to start a conversation?

import javax.swing.JOptionPane;

public class Exercise_1_8 {

public static void main(String[] args)
{

String name = JOptionPane.showInputDialog("What is your name?");

JOptionPane.showInputDialog(null, "Hello, " + name + "! How are you today?");
JOptionPane.showInputDialog(null, "I'm happy to hear that!");
JOptionPane.showInputDialog(null, "I'm doing great! Thanks for asking!");
JOptionPane.showMessageDialog(null, "Bye, " + name);
System.exit(0);
}
}