package userinput;
/**
*
* @author CHIEF_OGUNDE
*/
import javax.swing.JOptionPane;
public class Main {
/**
* @param args the command line arguments
*/
private static void show(string, "Not Yet Implemented");
public static void main(String[] args) {
// TODO code application logic here
int ERROR_MESSAGE;
String first_name;
first_name = JOptionPane.showInputDialog("First Name","Enter Your First Name");
String family_name;
family_name = JOptionPane.showInputDialog("Family Name","Enter Your Family Name");
String full_name;
full_name = "Your Name is " + first_name + " " + family_name;
showMessageDialog(null, full_name, "Name",JOptionPane.ERROR_MESSAGE);
System.exit(0);
}
}
teitsu 0 Newbie Poster
stultuske 1,116 Posting Maven Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.