Java gui to display name


Assignment:

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.

663_JOptionPane.JPG

Submit your source codes, a frame and an application class, and the corresponding program output.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Java gui to display name
Reference No:- TGS01927218

Now Priced at $20 (50% Discount)

Recommended (96%)

Rated (4.8/5)