Please see the attached file for the full problem description.
Write a simple GUI program that displays your name in the JOptionPane dialog box when the button "Click Me" is pressed. Set the size to 200 by 100. If no name is entered, no dialog box is shown up. Make the frame visible and exit on close but not resizable.
(Please see the attached file)
1. Submit your source codes, a frame and an application class, and the corresponding program output.
a simple Java GUI to display one's name with JOptionPane