Discount Get CIS 355A ALL WEEKS Solution ONLY $80.98 $122.70
CIS 355A Week 1 STEP 1 - Write a Java program named ShowEscapeSeq... [$6.12]
CIS 355A Week 1 STEP 2 - Write an application called Circle.java ... [$6.13]
CIS 355A Week 1 STEP 3 - Write an application called PracticeArit... [$6.13]
CIS 355A Week 2 STEP 3 - Write a program called Diamond.java that... [$6.13]
CIS 355A Week 2 STEP 1 - Large - Write a Java application program... [$6.12]
CIS 355A Week 2 STEP 2 - A palindrome is a sequence of characters... [$6.13]
CIS 355A Week 3 STEP 1 - Create a class called Cylinder.java that... [$8.88]
CIS 355A Week 3 STEP 2 - Create a program called Date.java to per... [$8.89]
CIS 355A Week 4 STEP 1 - Write a program called InheritanceTest.j... [$7.66]
CIS 355A Week 4 STEP 2 - Write a program called DayGui.java that ... [$7.66]
CIS 355A Week 4 STEP 3 - Write a program called OfficeAreaCalcula... [$7.66]
CIS 355A Week 5 STEP 1 - Write a program named GuessGame.java tha... [$13.99]
CIS 355A Week 5 STEP 2 - Write a program called TextFileIO.java t... [$8.22]
CIS 355A Week 6 STEP 1 - Write a Java GUI application called Inde... [$7.66]
CIS 355A Week 6 STEP 2 - Write a Java GUI application Index2.java... [$7.66]
CIS 355A Week 6 STEP 3 - Write a program called ThreeArrayLists.j... [$7.66]
Get Selected Weeks Solution with ONLY NOT Add Selected Tutorials To Cart
CIS355A CIS 355A CIS/355A - Week 4 - STEP 2 - Write a program called DayGui.java that creates a GUI having the following properties
    CIS355A CIS 355A CIS/355A - Week 4 - STEP 2 - Write a program called DayGui.java that creates a GUI having the following properties

CIS355A CIS 355A CIS/355A - Week 4 - STEP 2 - Write a program called DayGui.java that creates a GUI having the following properties

$7.66

STEP 2: DayGui (10 points)

 

Write a program called DayGui.java that creates a GUI having the following properties

Object

Property

Setting

JFrame

Name
Caption
Layout

mainFrame
Messages
FlowLayout

JButton

Name
Caption
Mnemonic

cmdGood
Good
G

JButton

Name
Caption
Mnemonic

cmdBad
Bad
B

 

Add individual event handlers to your program so that when a user clicks the Good button, the message "Today is a good day!" appears in a dialog box, and when the Bad button is clicked, the message "I'm having a bad day today!" is displayed. The following tutorial shows you much of the code solution. Feel free to use the tutorial, but make changes so that you are not simply copying the tutorial code for your entire solution. To make this different from the tutorial, change the colors of the buttons and panel. Also, add this application to a tabbed pane along with the program you will complete in the next step, Step 3. The following tutorials will likely be useful as you work to complete this step:

  • JTabbedPane
  • Tutorial to Write Your First GUI

Grading Rubric

DayGui

Points

Description

Standard header included

1

Must contain program’s name, student name, and description of the program

Program compiles

1

Program does not have any error

Program executes

1

Program runs without any error

DayGui class created

1

Class DayGui was created which contains the required properties

cmdGood JButton created along with the event handler

1.5

The Good button shows on the application and when pressed the appropriate message displays on a separate window

cmdBad JButton created along with the event handler

1.5

The Bad button shows on the application and when pressed the appropriate message displays on a separate window

Application contains required changes and displays the correct output

3

Application appears as one of the tabs in a tabbed application and buttons and panel are in different colors

Subtotal

10

 

Solution contains java source file (*.java), class file (*.class) and screenshot

You can using any java IDE, create new project and add all java source code to src folder and run programs.

If you have more question, please contact me via email support@extutorials.com

I will help you any time

Thanks

Attached Files

Move over [ preview ] file name to preview content in it!

  • DayGui.zip [13KB]
    • DayGui.class [0.9KB]
    • DayGui.java [1.4KB] [ preview ]
    • ScreenShot-DayGUI.jpg [10.5KB]

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B