Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

https://youtu.be/9SWEeNfls8E A06 Red Counter Due: Feb 19, 2019 at 11:59 PM Learning Objectives: o Use labels and buttons to create a GUI . Adjust colors,

image text in transcribed
https://youtu.be/9SWEeNfls8E
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
A06 Red Counter Due: Feb 19, 2019 at 11:59 PM Learning Objectives: o Use labels and buttons to create a GUI . Adjust colors, fonts, and padding to match the desired look . Use an event handler to implement the specified behavior Extract methods to make the code more clear and easier to maintain Description: In this assignment, you are going to create a simple GUI application. It includes a button and two labels. The button changes color every time it is clicked, the left label indicates how often the button was red, and the bottom label shows your name. Here is an example of a finished version: Red Counter GUI ed Counter: Click Me Margret's GUI . The 'Click Me' Button o When the GUI opens the button background is blue, and the text is white o The font is monospaced and fairly large but leaves padding on the sides o The text is 'Click Me' and it is centered The 'Red Counter' Label o When the GUI opens, the counter displays Red Counter o0 o The background is light gray o The font monospaced and the font- size is larger than the default but small enough to comfortably fit in the label without touching the sides The Label at the bottom o The background color is a very light shade of gray. It needs to be visibly lighter than the background of the label above o The font is different from the other two fonts used before o The padding on top and on the bottom is approximately the height of a letter . The Button Click Event o Every time the button is clicked the background color changes o There are exactly 5 possible background colors for the button: red, blue, green, orange, or magenta o Every time the background color happens to be red, the 'Red Counter' on the left is increased by

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions