Question Details

(solution) Unit 8 Chapter 18 Assignment Grading Information: This Program is


Need some help. The attach is the problem I need help with. You don't have to leave any on the program. I will pick the best answer to the person who answers it first. 


Unit 8 Chapter 18 Assignment

 

Grading Information: This Program is due on Date Specified.

 

Comments are REQUIRED; flow charts and pseudocode are NOT REQUIRED.

 

Directions Points The files must be called <LiFiUnit8Ch18.java>

 

The files must be called as specified above, (LiFi = Your Last Initial Your First Initial)

 

Proper coding conventions required the first letter of the class start with a capital

 

letter and the first letter of each additional word start with a capital letter. 5% Only submit the .java files needed to make the program run. Do not submit the

 

.class files or any other files.

 

Style Components

 

Include properly formatted prologue, comments, indenting, and other style elements

 

as shown in Chapter 2 starting page 64 and Appendix 5 page 881-892.

 

Topics covered in chapter

 

Topics with * are covered in this assignment. *GUI Design and Layout Mangers

 

*FlowLayout manger

 

BoxLayout manager

 

GridLayout Manager

 

*JPanel Class

 

JTextArea Component

 

JCheckBox Component

 

JRadionButton Component

 

JComboBox Component

 

Basic Requirements

 

Write a program that that displays a JFrame window with 5 buttons. The buttons will

 

be used to control the background color.

 

The button?s text will be randomly chosen from 5 colors and the background color will

 

change to the color shown on the button.

 

See sample output below. 5% LiFiUnit8Ch18.java Create a JFrame window

 

o Display 5 buttons showing 1 color each in a random order from the

 

choices: Red, Blue, Yellow, Green, White

 

o Ensure no color name is duplicated

 

Background color should change depending on which button was clicked and

 

which color name was on that button

 

I recommend a loop to NOT pick the same color for button 2 after button 1

 

color was chosen. The same for the remaining buttons.

 

Mimic the same session precisely. Pay attention to colors of the window and

 

label. 90% NOTE: Complete your activity and submit it by clicking ?Submit Assignment?

 

Total Percentage

 

Sample

 

Your output will vary based on the random colors order.

 

Initial window before any color is selected Random Colors listed on each button. Background color changes to paticular button when clicked.

 

Red was clicked. 100% Random Colors listed on each button. Background color changes to paticular button when clicked.

 

Green was clicked. Random Colors listed on each button. Background color changes to paticular button when clicked.

 

Blue was clicked. Other colors and button orders function the same way.

 


Solution details:
STATUS
Answered
QUALITY
Approved
ANSWER RATING

This question was answered on: Jan 30, 2021

PRICE: $15

Solution~0001000645.zip (25.37 KB)

Buy this answer for only: $15

This attachment is locked

We have a ready expert answer for this paper which you can use for in-depth understanding, research editing or paraphrasing. You can buy it or order for a fresh, original and plagiarism-free solution (Deadline assured. Flexible pricing. TurnItIn Report provided)

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
SiteLock

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

Jan 30, 2021

EXPERT

Tutor

ANSWER RATING

GET INSTANT HELP/h4>

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • As a reference for in-depth understanding of the subject.
  • As a source of ideas / reasoning for your own research (if properly referenced)
  • For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

NEW ASSIGNMENT HELP?

Order New Solution. Quick Turnaround

Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.

WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN A DEADLINE.

Order Now