venatana darergente con texto java

String respuesta = JOptionPane.showInputDialog("Escribe tu nombre");
Dangerous Dog