ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 19 May 2017 My Price 9.00

Create a Graphical User Interface

Hello, 

Can you please assist me with the below assignment?  The program needs to be written in Java. 

 

Assignment:

Create a Graphical User Interface that has two buttons and a textArea.

 

Create a String array to store the following messages.

"Congratulations Dante!nYou completed the Java class. nYou learned to write Java programs with commonly usedn control structures."

"Congratulations Dante!nYou completed the Java class. nYou learned to create a Java program using classes and methods."

"Congratulations Dante!nYou completed the Java class. nYou learned to create an Applet to draw shapes using graphics nmethods."

"Congratulations Dante!nYou completed the Java class. nYou learned to develop Java program using arrays."

"Congratulations Dante!nYou completed the Java class. nYou learned to write a Java program using sorting techniques."

"Congratulations Dante!nYou completed the Java class. nYou learned to code a Java program where parameters are passed."

"Congratulations Dante!nYou completed the Java class. nYou learned to identify and correct program errors."

To determine which message is displayed, you will use a random number between 0 and 6.

The random number will determine the index of the array message to display in the JTextArea.

When the clear button is pressed, the JTextArea message is equal to “This is where it will display what I learned. nMessage Displayed Here.“

 

The layout style will be a FlowLayout. Set the size of display screen to 400 by 200 [setSize(400, 200);]

 

Please provide the Code as well as a  screenshot of the output. Also, include the program code in a text file to run on another computer.  Please comments to the code. 

 

Answers

(11)
Status NEW Posted 19 May 2017 01:05 AM My Price 9.00

-----------

Attachments

file 1495157093-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)