You are required to create above frame, Create a class HelloFrame and extend it from JFrame Inside HelloFrame declare 3 textfields for taking string input for name , email and number variables 1...


You are required to create above frame,


Create a class
HelloFrame
and extend it from
JFrame




    • Inside HelloFrame  declare

    • 3 textfields for taking string input for
      name,
      email and number
      variables

    • 1 textarea to write a message.

    • Create a button “Submit” which should submit the form.


  • Now create a public constructor for HelloFrame inside which


    • You should call


      • super("Hello Java");    //used to set title of the frame

      • setSize(700, 400);          //set length and width of the frame

      • create a label which should display the method "Contact US Panel"

      • similarly create labels for showing name, email, number.

      • Add textfields and button to JFrame.




Run the code and make sure the output should be as above frame.



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here