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, 2 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 24 May 2017 My Price 9.00

LiFiUnit7Ch17.java

Please help with this java program.

Program 4-5

   

The files must be called <LiFiUnit7Ch17.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.

Only submit the .java files needed to make the program run. Do not submit the .class files or any other files.

5%

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.

5%

Topics covered in chapter

Topics with * are covered in this assignment. Ensure you use every item listed below in your completed assignment.

Event-Driver Programming Basics *JFrame Class
*Java Components
*JLabel Components

JTextField Components
*Component Listeners
*Inner Classes
*JButton Components
*Dialog Boxes and JOptionPane Class
Distinguising Between Multiple Events
Using getActionCommand to Distringuish Between Multiple Events *Color

How GUID Classes Are Group Together Mouse Listener and Images (Optional)

 

Basic Requirements

Write a program that that displays a dialog box show a message as shown below. This dialog should be created with showMessageDialog.

 

 

This random color is to be used as the background color of a JFrame window which should appear after “OK” is selected.

See sample output below.

LiFiUnit7Ch17.java

  •   Utilize showMessageDialog to output the message shown in the sample at the bottom. A random color should be passed to the constructor to be used as background color upon clicking OK
  •   Create a JFrame window

o Set the background color to a random color passed to the constructor

as shown in sample below
o Include a button titled “Random” (see sample)
o Upon clicking “Random”, change the background color to a random

color chosen from Red, White, Yellow, Green, and Blue.

  •   Use an inner class for the listener
  •   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

100%

 

 

 

 

Unit 7 Chapter 17 AssignmentGrading Information:This Program isdueonDate Specified.Comments areREQUIRED; flow charts and pseudocode areNOT REQUIRED.DirectionsPointsThe files must be called <LiFiUnit7Ch17.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 capitalletter and the first letter of each additional word start with a capital letter.Only submit the .javafiles needed to make the program run. Do not submit the.classfiles or any other files.5%Style ComponentsInclude properly formatted prologue, comments, indenting, and other style elementsas shown in Chapter 2 starting page 64 and Appendix 5 page 881-892.5%Topics covered in chapterTopics with * are covered in this assignment.Event-Driver Programming Basics*JFrame Class*Java Components*JLabel ComponentsJTextField Components*Component Listeners*Inner Classes*JButton Components*Dialog Boxes and JOptionPane ClassDistinguising Between Multiple EventsUsing getActionCommand to Distringuish Between Multiple Events*ColorHow GUID Classes Are Group TogetherMouse Listener and Images (Optional)Basic RequirementsWrite a program that that displays a dialog box show a message and a randomlychosen color.This random color is to be used as the background color of a JFrame window which

Attachments:

Answers

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

-----------

Attachments

1495588940-CS 219 Unit 7 Ch 17.pdf
Not Rated(0)