Explore BrainMass

Explore BrainMass

    Java GUI to display one's name

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Please see the attached file for the full problem description.
    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.

    © BrainMass Inc. brainmass.com June 4, 2020, 4:36 am ad1c9bdddf


    Solution Summary

    a simple Java GUI to display one's name with JOptionPane