Xtrme_XJ
11-10-2008, 11:51 AM
I have done this before but it was when I was in my class last year and I am helping a friend with something now... How do I change the title bar of a JOptionPane?
String ans;
ans = JOptionPane.showInputDialog(null, "Choices are:\n(1) Add new employee\n(2) List employees\n" +
"(3) Display infomration about about an employee\n" +
"(4) Display average wage of employees\n(5) Quit\n\n" +
"What is your choice?\n");
String ans;
ans = JOptionPane.showInputDialog(null, "Choices are:\n(1) Add new employee\n(2) List employees\n" +
"(3) Display infomration about about an employee\n" +
"(4) Display average wage of employees\n(5) Quit\n\n" +
"What is your choice?\n");