Hii Friends,I am new to this forum,and can anybody of you tell me how to do this.
This is it
First we were given to type the below given code
public class DialogViewer1
public static void main(String args)
String name = JOptionPane.showInputDialog("What is your name?");
and that's not the problem.
now they ask to modify the program to print “Hello, name!” displaying the name that the user typed in a Dialog Box.
Please explain how to do that,Thanks in advance